Q. I’m using Linux since last one year but I’m not able to find out command which will display package description, usage, copyright information etc. Can you tell us the Linux package description command name?

A. Different Linux distribution use different command to display package information. Generally you use rpm or apt-get/dpkg commands for package management.

Task: How do I display installed packages list?

If you are using rpm based distro such as Redhat/CentOS/Suse/Fedora Linux, enter:
# rpm -qa
# rpm -qa | less

If you are using apt based distro such as Debian/Ubuntu Linux, enter:
# dpkg --list

Task: Display package description and other information

If you are using rpm based distro such as Redhat/CentOS/Suse/Fedora Linux use rpm command:
rpm -qi {package-name}

For example display package description, version, vendor, build date for package called mtop, enter:
# rpm -qi mtop

Name        : mtop                         Relocations: (not relocatable)
Version     : 0.6.6                             Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release     : 1.2.el4.rf                    Build Date: Fri 20 Jan 2006 05:40:49 PM CST
Install Date: Wed 07 Feb 2007 07:04:54 PM CST      Build Host: lisse.leuven.wieers.com
Group       : System Environment/Base       Source RPM: mtop-0.6.6-1.2.el4.rf.src.rpm
Size        : 138090                           License: GPL
Signature   : DSA/SHA1, Fri 20 Jan 2006 05:48:51 PM CST, Key ID a20e52146b8d79e6
Packager    : Dag Wieers 
URL         : http://mtop.sourceforge.net/
Summary     : Tool to monitor a MySQL database
Description :
mtop (MySQL top) monitors a MySQL database showing the queries
which are taking the most amount of time to complete. Features
include 'zooming' in on a process to show the complete query
and 'explaining' the query optimizer information.

If you are using rpm based distro such as Debian/Ubuntu Linux use dpkg command:
dpkg -p {package-name]

For example display package description, version, and other information for package called zip, enter:
$ dpkg -p zip

Package: zip
Priority: optional
Section: utils
Installed-Size: 248
Maintainer: Santiago Vila 
Architecture: i386
Version: 2.32-1
Replaces: zip-crypt (= 2.4-1)
Recommends: unzip
Conflicts: zip-crypt (

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 5 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
5 comments… add one
  • John Dec 22, 2010 @ 2:19

    Is there a way to see the version of software I’m running (in my case Denyhosts) using a linux command on my centos system?

    • John Oct 26, 2011 @ 13:47

      Yes, usually the –version -v switch used with the command will get that info for you. If that doesn’t work, typically the command man will give you what you need.

  • Sachin Nov 3, 2011 @ 11:38

    What if I want a list of all the installed software in an alphabetically / date-wise “sorted format”?
    Is there any way to accomplish this?

  • Larry Wilson Jun 17, 2015 @ 5:14

    Something that is missing from the above is apt-cache show
    This is very useful to get the full description of a package you are looking for, typically after using a apt-cache search to find the exact package name.

  • Typo police Jun 2, 2016 @ 19:42

    If you are using rpm based distro such as Debian/Ubuntu Linux use dpkg command:
    dpkg -p {package-name]

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum