Re-installation and making a list of installed software

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Re-installation and making a list of installed software

Postby GeordieJedi » Sun Mar 25, 2012 1:48 pm

Hi all.

OK, I'm going to install 11.10 and I'd like to make a list of all the programmes and apps
that I've installed so-far. (To make it easier to re-install them afterwards).

So-far (I think I've made a correct list by doing the folowing in a terminal) =

Code: Select all
dpkg --get-selections > installed_apps_01.txt


However I prefaced that command with sudo.

E.G.

Code: Select all
sudo dpkg --get-selections > installed_apps_01.txt

and saved it to my home folder.

Now, is this enough? Was putting sudo in-front wise?
Will this enable me to run the next line of code to re-install all of the apps?


Thanks in advance for any help or advice.
User avatar
GeordieJedi
LXF regular
 
Posts: 337
Joined: Thu Jun 14, 2007 10:36 pm
Location: North East England

Postby Dutch_Master » Sun Mar 25, 2012 3:15 pm

Yes, sudo was actually needed for that command so succeed. Next steps:

1) save the file on removable media (USB stick!), just in case (and backup your data too!)
2) on the new system, set the list with:
Code: Select all
sudo apt-get --set-selections < installed_apps_01.txt

3) install these using dselect, this takes a while:
Code: Select all
sudo apt-get install dselect
sudo dselect install

Assuming you've also updated to a new kernel, reboot, and you should be back in business.
Dutch_Master
LXF regular
 
Posts: 2471
Joined: Tue Mar 27, 2007 1:49 am

Postby GeordieJedi » Sun Mar 25, 2012 5:05 pm

Brilliant !

Thanks for the prompt reply Dutch_Master.


Cheers.
User avatar
GeordieJedi
LXF regular
 
Posts: 337
Joined: Thu Jun 14, 2007 10:36 pm
Location: North East England


Return to Help!

Who is online

Users browsing this forum: No registered users and 1 guest