Parameterized whether to install os packages