Now we will discuss how to use “yum” to accomplish the same task. Using rpm is not the only way to check for installed packages on your system. Kpartx-0.4.86_64 Using Yum to Check Installed Packages You’ll see the output displays the same package name and version we saw from rpm -qa. Instead of displaying all installed packages, rpm can also be used to search for a single package. kpartx-0.4.86_64Įach entry can be broken up into three parts. Take a look at a small excerpt of entries from the list. The important thing here is to understand how to read the output. ![]() Note that you might not have these specific packages installed on your CentOS server. Let’s examine a small portion of the results in detail. ![]() We’re asking rpm to query all installed packages. Note the -q means “query” and -a means “all”. This command allows you to see every installed package on your system, along with the version that is currently installed: This first command uses the rpm package manager to poll for installed packages. For more information, see Logging into Your Server via Secure Shell (SSH). Let’s dig in! To use these commands, you’ll need to log in to your server via SSH. There are several ways to accomplish this, and we’ll discuss a few of them. In this Liquid Web tutorial, we’re going to be discussing how to inspect packages installed on your CentOS system. You’ll need to know package names, version numbers, dates of installation, etc. While managing your server, you’ll sometimes need to check on which software (or packages) you have installed on your system.
0 Comments
Leave a Reply. |