[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-user]: debian package list



On Sat, 22 Jan 2005 13:18:00 -0800 (PST)
Alexey Tumanov <atumanov@yahoo.com> wrote:

> Greetings,
> 
> I've read through the man pages for both apt-get and apt-cache as well
> as looked through the APT-HOWTO. None of them answered my fundamental
> question - how in the world can I list all of the packages currently
> installed on the system? Everything I've tried lists available
> packages for install or information per package. I've just recently
> switched from Red Hat and its RPM, so for those of you familiar with
> both, I'm looking for something like rpm -qa and, specifically, rpm
> -qa |grep somepackage. What would be the equivalent under Debian?

Hello, 

Here's a few examples. "man dpkg" will have more details.

"dpkg -l | grep somepackage"
"dpkg -l pat*ern"
"dpkg --get-selections | grep somepackage"

HTH,
Jacob



Reply to: