Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 06-21-2005, 01:25 PM   #1
Registered: Feb 2004
Distribution: Debian 3.1 "sarge"
Posts: 31

Rep: Reputation: 15
List all packages installed by user

... into an installable format.

Basically, what I want to do is list all of the packages I manually installed (not the dependancies) using apt-get or aptitude, into a format so that I can just paste it into apt-get like so:

apt-get install package1 package2 package3 ... package 50

if this is possible, thanks in advance

P.S. I know you can do dpkg -l, but that is all of the packages, and not in readable format
Old 06-21-2005, 02:09 PM   #2
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
dpkg --get-selections > pkg.list
dpkg --set-selections < pkg.list
Old 06-21-2005, 02:11 PM   #3
Registered: Feb 2004
Distribution: Debian 3.1 "sarge"
Posts: 31

Original Poster
Rep: Reputation: 15
thanks..... I won't have a chance to test it for a while, but it looks sensible


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to list all installed packages that can be reconfigured with dpkg-reconfigure? Akhran Linux - Newbie 1 11-24-2005 07:25 PM
How to list all installed packages? bp12345 Debian 2 08-15-2005 08:06 AM
list installed debian packages Fernandoch Debian 4 07-07-2005 05:16 AM
list of installed packages jeff1500 Slackware 3 03-22-2004 04:52 PM
List all installed Packages? mikeshn Linux - General 1 12-02-2003 10:31 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration