


Ii hostname 3.15 amd64 utility to set/show the host name or domain nameĪnother alternative to the above dpkg command is to use the -s status option. To list only installed package we can pipe the output to grep: However, in this case we also list uninstalled un packages. Ii hostname 3.15 amd64 utility to set/show the host name or dom Un hello-traditional (no description available) Un hello-debhelper (no description available) In the situation that we do not exactly know the name of the package we are searching for we can use meta characters to match possible name. In case that the about dpkg output would not produce any output means that the package hello is not installed. Ii hello 2.9-2+deb8u1 amd64 example package based on GNU helloįrom the above dpkg‘s command output we can conclude that hello package is currently installed our system. ||/ Name Version Architecture Description |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend The first dpkg command will list all currenlty installed packages on your system:įrom here we can search for a specific package by supplying the package name as an argument:ĭesired=Unknown/Install/Remove/Purge/Hold There are multiple way on how to determine whether a specific package is already installed on your system.
