Reinstalling a system from package list?

NoOp glgxg at sbcglobal.net
Wed Apr 14 21:04:32 UTC 2010


On 04/14/2010 12:04 PM, Maxime Alarie wrote:
>  
> 
> That's is exactly what I was looking for. Thank you.
> 
>  
> 
> Here is how to do it if it can help someone else in the future:
> 
>  
> 
> #Lists all your Installed Packages and send the output in a textfile.
> 
> sudo dpkg- l | awk '{print $2}' > installed_packages.txt
> 
...
For those who wish to use the gui:

1. Open Synaptic & then File|Save Markings As...|
2. Be sure to tick the box 'Save full state, not only changes
3. Name the file & location where you want to save the markings
4. Save

Bring up Synaptic & then File|Read Markings and point it to the saved
markings file. Synaptic will then reinstall all that are not already
installed. This is quite handy for when you have another machine that
you want to install all of the packages from the primary. Just copy the
markings file to the target machine & 'File|Read Markings'.








More information about the ubuntu-users mailing list