Reinstalling a system from package list?

Maxime Alarie malarie at processia.com
Wed Apr 14 19:04:40 UTC 2010


 

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

 

#Installed every package in the text file:

sudo apt-get install `cat installed_packages.txt`

 

VoilĂ !

 

 

-----Original Message-----
From: ubuntu-users-bounces at lists.ubuntu.com [mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Rashkae
Sent: Wednesday, April 14, 2010 2:46 PM
To: Ubuntu user technical support,not for general discussions
Subject: Re: Reinstalling a system from package list?

 

Maxime Alarie wrote:

>  

> 

> Hello,

> 

>  

> 

> Im just  curious if there is a way to reinstall a system from  the

> output of dpkg -list

> 

>  

> 

> Let's say I have a crash, I reinstall the base system and then want to

> reinstall all the packages I had  before the crash... I, like many

> others I'm sure,  usually Install a system then proceed to install other

> packages  along the way to suit  my  needs. But we do not keep a trace

> of those  small packages installed for this dependency or that small

> program we want to try..

> 

>  

> 

> Thanks.

 

http://www.linuxforums.org/forum/debian-linux-help/40955-need-list-installed-packages.html

 

 

-- 

ubuntu-users mailing list

ubuntu-users at lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100414/77bd1894/attachment.html>


More information about the ubuntu-users mailing list