From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 1 Deploy, Configure, and Manage (2021)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Get info on packages with DNF

Get info on packages with DNF

- [Narrator] There are DNF sub commands that provide information on software packages. Such as DNF list and DNF info. DNF list gives a quick list of all packages. This includes packages that are in the local RPM DB package database and packages that are listed in a repository. DNF info provides more information. Let's list all packages. Type in DNF, space, list, space, dash, dash, all and hit enter. Note that for this particular sub command dash, dash, all is not necessary. It's assumed so you can leave it off. With DNF list all, we have three columns. The left column is the package name with Seaview architecture. The middle column is the version number and release. And the right column is the repository it came from. If the repository is Anaconda then the package was installed when the OS was. We can also see all versions of packages and show which are currently installed. Type in clear and then bring your line…

Contents