Showing posts with label list packages. Show all posts
Showing posts with label list packages. Show all posts

Saturday, December 27, 2008

List the installed packages on your Ubuntu box

I found out how to do this recently and thought it might be helpful to some people. To output this information to a file in your home directory you would use,


CODE:
dpkg --get-selections > installed-software


And if you wanted to use the list to reinstall this software on a fresh ubuntu setup,

Code:

dpkg --set-selections < installed-software

followed by

Code:

dselect

Sunday, October 12, 2008

Useful Ubuntu commands

Here are some of useful commands that I have come across:

List installed packages / Easy Restore



Create a list of installed packages:

Code:
dpkg --get-selections > installed-software
And if you wanted to use the list to reinstall this software on a fresh ubuntu setup,

Code:
dpkg --set-selections <> 
followed by

Code:
dselect