Installed Software Query

Florian Diesch diesch at spamfence.net
Sat Nov 15 11:26:02 UTC 2008


"Chaman Singh Verma" <csv610 at gmail.com> wrote:

> How can I get the list of software installed on my present machine so that,
> if something goes wrong
> with this machine, I can install all the software once again on new machine?

This saves the list into installed_software.txt

  dpkg --get-selections > installed_software.txt

and this installs the packages from the list:

  dpkg --get-selections < installed_software.txt && sudo apt-get dselect-upgrade


   Florian
-- 
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
**  Hi! I'm a signature virus! Copy me into your signature, please!  **
-----------------------------------------------------------------------




More information about the ubuntu-users mailing list