show line number in nano | configuring mysql logging | network systemd | php delete cookies


Search your Debian system for a Certain Package

You can search for a certain package in a Debian system using dpkg.

dpkg --list <package-name>


Give the command

dpkg --list "apache2*"

the result would look like

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version            Architecture       Description
ii  apache2                    2.2.22-13          amd64              Apache HTTP Server metapackage
un  apache2-common             <none>                                (no description available)
un  apache2-doc                <none>                                (no description available)
un  apache2-mpm                <none>                                (no description available)
un  apache2-mpm-event          <none>                                (no description available)
un  apache2-mpm-itk            <none>                                (no description available)
ii  apache2-mpm-prefork        2.2.22-13          amd64              Apache HTTP Server - traditional non-threaded model
un  apache2-mpm-worker         <none>                                (no description available)
un  apache2-suexec             <none>                                (no description available)
un  apache2-suexec-custom      <none>                                (no description available)
ii  apache2-utils              2.2.22-13          amd64              utility programs for webservers
ii  apache2.2-bin              2.2.22-13          amd64              Apache HTTP Server common binary files
ii  apache2.2-common           2.2.22-13          amd64              Apache HTTP Server common files

Related Posts

You may also be interested in

Your comments are welcomed!

Sign-up for our free email newsletter. Get updates when new tutorials and tips are published. You can unsubscribe anytime with a click.

Your comments are welcomed!

This site actively encourages commenting on any post. Comments are not pre-moderated, but this community does not tolerate direct or indirect attacks, name-calling or insults. Please, read terms of use and Comment Policy at privacy policy.

More tips