Linux command to display package description, information, version and usage

Linux command to display package description, information, version and usage

There are several commands that you can use to display package description, information, version, and usage in Linux. Here are a few options:

  1. apt-cache show: This command is used to display information about a package in the Advanced Packaging Tool (APT) system, which is used for managing packages in Debian and Ubuntu systems. To use this command, type apt-cache show package-name, where package-name is the name of the package you want to display information about. For example:
r‮ot refe‬:lautturi.com
apt-cache show firefox

This will display detailed information about the firefox package, including its description, version, dependencies, and other metadata.

  1. yum info: This command is used to display information about a package in the Yellowdog Updater, Modified (YUM) package manager, which is used in Red Hat and CentOS systems. To use this command, type yum info package-name, where package-name is the name of the package you want to display information about. For example:
yum info firefox

This will display detailed information about the firefox package, including its description, version, dependencies, and other metadata.

  1. rpm -qi: This command is used to display information about an RPM package. To use this command, type rpm -qi package-name, where package-name is the name of the package you want to display information about. For example:
rpm -qi firefox

This will display detailed information about the firefox package, including its description, version, dependencies, and other metadata.

  1. dpkg -s: This command is used to display information about a package in the Debian Package Manager. To use this command, type dpkg -s package-name, where package-name is the name of the package you want to display information about. For example:
dpkg -s firefox

This will display detailed information about the firefox package, including its description, version, dependencies, and other metadata.

These are just a few examples of commands that can be used to display package information in Linux. You can also use the man command to view the manual pages for these and other package management commands for more information and usage examples. For example, you can type man apt-cache or man yum to view the manual pages for these commands.

Created Time:2017-10-29 22:09:01  Author:lautturi