Re: [debian-user]: debian package list
On Sat, 22 Jan 2005 13:18:00 -0800 (PST)
Alexey Tumanov <email@example.com> wrote:
> 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?
Here's a few examples. "man dpkg" will have more details.
"dpkg -l | grep somepackage"
"dpkg -l pat*ern"
"dpkg --get-selections | grep somepackage"