Listing installed packages in Debian Sarge

Ian Petersen ispeters-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Nov 14 16:31:49 UTC 2006


I had to do this on my Ubuntu system.  I forget the command line I
used, but I first installed apt-show-versions.  When you run it, it'll
give you a list of all installed packages along with the repository it
came from, and the version that's installed.

Ian

On 11/14/06, Meng Cheah <meng-D1t3LT1mScs at public.gmane.org> wrote:
> Hi
>
> I'm checking out a Debian Sarge system.
> I'm running the commands below to find out what packages are installed.
>
> apt-cache pkgnames --installed
> less /var/lib/dpkg/available
> dpkg -l
>
> Any suggestions, alternatives or gotchas as to the above?
> I understand that dpkg -l displays installed packages as well as removed
> packages.
> How do I show only the installed packages?
>
> Thanks in advance.
>
> Meng Cheah
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>


-- 
Tired of pop-ups, security holes, and spyware?
Try Firefox: http://www.getfirefox.com
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list