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

No comments: