Reinstalling a system from package list?

Maxime Alarie malarie at
Thu Apr 15 13:25:04 UTC 2010

Thanks, but Im not using a UI.

I walready found the answer I was looking for. Thanks.

-----Original Message-----
From: ubuntu-users-bounces at
[mailto:ubuntu-users-bounces at] On Behalf Of NoOp
Sent: Wednesday, April 14, 2010 5:05 PM
To: ubuntu-users at
Subject: Re: Reinstalling a system from package list?

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'.

ubuntu-users mailing list
ubuntu-users at
Modify settings or unsubscribe at:

More information about the ubuntu-users mailing list