Forrest logo
back to the dnf tool

dnf:tldr:7e4a7

dnf: List installed packages.
$ dnf list --installed
try on your machine

The command "dnf list --installed" is used in a Linux distribution that uses the DNF package manager (such as Fedora) to list all the packages that are currently installed on the system.

Here's a breakdown of the command:

  • "dnf" is the command-line package manager used in distributions like Fedora, CentOS, and RHEL. It is used to manage and install software packages.
  • "list" is an argument that tells DNF to list packages. By default, DNF lists all available packages, but using additional options can filter the output.
  • "--installed" is an option that is used with the "list" command to filter and display only the installed packages. This option allows you to see the packages that are currently installed on your system.

When you execute the "dnf list --installed" command, it will display a list of all the packages that are installed on your Linux system, including their names, versions, and other relevant details. This information can be useful when you need to check which packages are already installed or want to manage and maintain your installed software packages.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dnf tool