Saturday, September 27, 2008

Create a Software List In Linux

Real quick and easy technique that creates an alphabetical list of all software packages that you have installed on your system.

Open the terminal and type in the following;

dpkg --get-selections > installed-software

This will generate a text file in your Home folder named Installed-Software.

Now if you ever have to redo your computer or build a new one and you want the same software installed all you have to do is make sure the list is in the Home directory, open the terminal and type in the following;

sudo dpkg --set-selections < installed-software

And then this command;


That's it! Short and sweet.



No comments: