Amazon interview question

How to design a package installer.