Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re-installation and making a list of installed software

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 327
Location: North East England

PostPosted: Sun Mar 25, 2012 2:48 pm    Post subject: Re-installation and making a list of installed software Reply with quote

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:

dpkg --get-selections > installed_apps_01.txt


However I prefaced that command with sudo.

E.G.

Code:

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.
Back to top
View user's profile Send private message
Dutch_Master
LXF regular


Joined: Tue Mar 27, 2007 2:49 am
Posts: 2422

PostPosted: Sun Mar 25, 2012 4:15 pm    Post subject: Reply with quote

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:
sudo apt-get --set-selections < installed_apps_01.txt

3) install these using dselect, this takes a while:
Code:
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.
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 327
Location: North East England

PostPosted: Sun Mar 25, 2012 6:05 pm    Post subject: Reply with quote

Brilliant !

Thanks for the prompt reply Dutch_Master.


Cheers.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast