How to list installed software packages on Linux.

In Linux, you can use the following command to list the software packages installed in the system:

  1. List the software packages installed in a Debian or Ubuntu system using the dpkg command.
dpkg --list
  1. List the packages installed in a Red Hat, CentOS, or Fedora system using the rpm command.
rpm -qa
  1. List the software packages installed in a Red Hat, CentOS, or Fedora system using the yum command.
yum list installed
  1. List the packages installed in a Debian or Ubuntu system using the apt command.
apt list --installed

These commands will display all the installed packages in the system, and you can use the pipe and grep commands to filter the desired package information.

Leave a Reply 0

Your email address will not be published. Required fields are marked *