From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

RPM

RPM

- [Male Instructor] On CentOS, Red Hat, and Fedora systems, the RPM Package Manager is the tool that installs and removes packages. While we often use it through front ends like yum and DNF, it's useful to know how to use it manually as well. The RPM software works with packages in the RPM format I can find a package to work with on a software project's website, like here at nmap.org, the site for the network scanning software Nmap. I'll download an RPM file, either manually through the browser or by copying the URL and grabbing the file with wget or curl. Once it's downloaded, we can start working with the installer. When I have a package file, I can take a look at its metadata with rpm-qip and the name of the file. Here, the q stands for query mode and the I shows information. These are called query options. The p option is a select option, and it tells the query to look at a package file rather than an already installed package. So here I can see the basic information about this…

Contents