checking installed packages in debian

Thomas Stivers stivers_t at tomass.dyndns.org
Thu Sep 1 05:44:54 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Wed, Aug 31, 2005 at 10:02:18 PM -0500, Gregory Nowak wrote:
> Hi all.
> 
> Is there  a way to get an output of packages installed on a debian
> system, without having to arrow around in aptitude? The closest answer
> I found to what I'm looking for is
> 
> apt-cache pkgnames
> 
> , though that seems to give me all the packages in debian, not just
> the ones currently installed on the system. Thanks in advance.

You can use aptitude in command line mode:

aptitude search '~i'

will display installed packages. You will probably want to pipe the
output through less. You can read all about the different kinds of
expressions you can use in /usr/share/doc/aptitude/README. 

- -- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

Thomas Stivers	e-mail: stivers_t at tomass.dyndns.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDFs2V5JK61UXLur0RA2H7AJsE35cZggl8nTgIgdI/Jg3Jj9FcEACeO+Gu
KQZ8wZpDmxV9oH/rVzvJ8K4=
=C974
-----END PGP SIGNATURE-----




More information about the Speakup mailing list