< Previous | Contents | Next >
Determining If A Package Is Installed
These low-level tools can be used to display whether a specified package is installed:
Table 14-10: Package Status Commands
Style Command(s)
Style Command(s)
Debian dpkg --status package_name
Red Hat rpm -q package_name
Example: To determine if the emacs package is installed on a Debian style system:
dpkg --status emacs
dpkg --status emacs