Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old September 20th, 2006   #1
Cynical
Way Too Much Ubuntu
 
Cynical's Avatar
 
Join Date: Apr 2006
Beans: 223
HowTo: Create a list of installed packages

I found out how to do this recently and thought it might be helpful to some people. To output this information to a file in your home directory you would use,

Code:
dpkg --get-selections > installed-software
And if you wanted to use the list to reinstall this software on a fresh ubuntu setup,

Code:
dpkg --set-selections < installed-software
followed by

Code:
dselect
Cynical is offline   Reply With Quote
Old September 21st, 2006   #2
starscalling
A Carafe of Ubuntu
 
Join Date: Oct 2005
Beans: 149
Re: HowTo: Create a list of installed packages

bump
damn this is smooth! good looking out!
starscalling is offline   Reply With Quote
Old November 6th, 2006   #3
stalefries
Ubuntu Extra Shot
 
Join Date: Nov 2005
Location: Where do I live
Beans: 330
Ubuntu 6.10 Edgy
Re: HowTo: Create a list of installed packages

Can anyone provide a list generated by this on a clean Edgy install? I'm trying to figure out what I've installed in the past, so I can remove things I no longere need.
stalefries is offline   Reply With Quote
Old November 13th, 2006   #4
xfile087
A Carafe of Ubuntu
 
Join Date: Jun 2006
Location: England
Beans: 127
Re: HowTo: Create a list of installed packages

I'm installing Edgy (x86) as we speak so once it's installed I will give you the list!

Included is a list of installed packages on a fresh install.
Attached Files
File Type: gz installed-software.tar.gz (5.8 KB, 185 views)

Last edited by xfile087; November 13th, 2006 at 10:26 AM..
xfile087 is offline   Reply With Quote
Old November 13th, 2006   #5
lo900
Spilled the Beans
 
Join Date: Aug 2006
My beans are hidden!
Re: HowTo: Create a list of installed packages

many thnks

I was looking for this
lo900 is offline   Reply With Quote
Old November 13th, 2006   #6
bierpullen
5 Cups of Ubuntu
 
Join Date: Sep 2005
Location: Europe , the Netherlands
Beans: 36
Ubuntu 9.04 Jaunty Jackalope
Smile Re: HowTo: Create a list of installed packages

I was looking for this





------------------------------------------------------
http://www.antarctica-rbak.nl/ubuntu/acer_aspire.php
------------------------------------------------------

Last edited by bierpullen; October 23rd, 2007 at 02:18 PM..
bierpullen is offline   Reply With Quote
Old November 13th, 2006   #7
Henry Rayker
Dipped in Ubuntu
 
Henry Rayker's Avatar
 
Join Date: Mar 2006
Beans: 559
Re: HowTo: Create a list of installed packages

huh. This would be really nice in diagnosing problems I've had.
Henry Rayker is offline   Reply With Quote
Old November 13th, 2006   #8
stalefries
Ubuntu Extra Shot
 
Join Date: Nov 2005
Location: Where do I live
Beans: 330
Ubuntu 6.10 Edgy
Re: HowTo: Create a list of installed packages

Thank you so much!
stalefries is offline   Reply With Quote
Old November 13th, 2006   #9
qamelian
Iced Almond Soy Ubuntu, No Foam
 
qamelian's Avatar
 
Join Date: Feb 2005
Location: Nova Scotia, Canada
Beans: 1,176
Ubuntu 9.10 Karmic Koala
Send a message via MSN to qamelian Send a message via Yahoo to qamelian
Re: HowTo: Create a list of installed packages

You don't need a list of a clean install to get rid of unnecessary packages resulting from installing and uninstalling stuff. Just
Code:
sudo apt-get autoremove
and apt will generate a list of orphaned packages and give you the option to remove them.
qamelian is offline   Reply With Quote
Old December 19th, 2006   #10
nuclear_eclipse
5 Cups of Ubuntu
 
nuclear_eclipse's Avatar
 
Join Date: Dec 2006
Beans: 11
Gutsy Gibbon Testing
Send a message via AIM to nuclear_eclipse
Re: HowTo: Create a list of installed packages

Is there an easy way to tell Ubuntu / dpkg to uninstall every package *except* what's listed in that output file? I'm trying to take an existing install, and remove all the unnecesary packages beyond a basic command line system, but I know of no easy way to do so.

But if I could use a package list from a different system, which is just a command line install, as a basis, and tell it to remove everything but that package list, that would be great.
nuclear_eclipse is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:09 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry