Ubuntu – How to install a list of packages using apt-get

aptpackage-management

I have a fresh install of Lubuntu and would like to install packages from a given list, without having to type sudo apt-get install package_name. Is it possible?

I'm not talking about the post-install scripts, that is something entirely different.

Best Answer

Yep, just list all packages in a line separated by a space. e.g.

sudo apt-get install package_name1 package_name2 package_name3 package_name4
Related Question