Live Chat!

How to check what have installed in Debian/Ubuntu

* * * *   1 votos

November 21st, 2006 mysurface

To check what have install by listing all using dpkg is easy.
dpkg -l
To check whether a package is install also easy.
dpkg -l | grep apache
The command above is some how redundant, because dpkg support wild characters, doing this instead
dpkg -l “apache*”
By doing this, it will also list the package that not install but available in [...]

Posted in Admin, dpkg, dpkg-query | Hits: 8125 | 4 Comments »

query using debian packaging manager

          0 votos

September 24th, 2006 mysurface

I am here to show you two examples of using dpkg to query package info.
To know what deb package is installed, you can do this
dpkg -l
Usually we do this with grep, to filter only info that we are interested in, let say i want to know the packages consist of keyword gcc.
dpkg -l | grep [...]

Posted in Admin, backquote, dpkg, grep, pipeline, which | Hits: 6953 | 2 Comments »