Main Menu

search

You are here

Linux Command: dpkg

[last updated: 2025-04-06]
Linux home page
Linux commands
Linux Install Packages
-----

  • dpkg [options] ...
    $ dpkg --get-selections (shows modules/packages that are installed)
    $ dpkg -l (appears to do the same thing)
    $ dpkg -s [pkg name] (shows whether a particular package is installed)
    $ dpkg -c (shows detailed contents of a package)
    $ dpkg -L (shows location of installed package)
    $ dpkg -p [pkg name] (shows details of the package)
  • Find out if a package is already installed:
      $ dpkg -s [packageName]


eof