Amazon Interview Question

How to design a package installer.