Technology and General Blog

Yellowdog Updater Modified or Yum for short is a offer management resource for RPM deals. It is well known in the REHL relatives of Linux distributions, such as CentOS and Fedora. Therefore, you can imagine of yum as a bootstrap for RPM bundle supervisor.

Like well-liked package professionals, Yum will work through repositories that have collections of resources in rpm format.

For this swift just one, we will discuss the basics of yum and present available offers on a procedure utilizing yum as a package deal manager.

Yum Checklist Readily available Offers

To clearly show available deals, we can use the yum checklist command as demonstrated:

This command will exhibit the name of all the accessible deals, the hottest edition, and the repositories to which they belong

Yum Look at Set up Offers

Yum is exceptionally effortless to use like most deal managers, it lets you to go intuitive choices. For case in point, to demonstrate the checklist of put in offers, we can use the command:

Comparable to display obtainable offers, the command higher than will exhibit the name of the deals mounted, the version, and the source repository of the offers

You can pass the output from the command above to equipment such as grep, fewer, and many others.

Yum Search Unique Offer

An example use situation of the yum record command is examining if you have a precise offer mounted. For instance, permit us see if awk is put in.

sudo yum checklist mounted | grepawk

The over command passes the output of the yum list to grep, which then lookups for the distinct string, in this scenario, ‘awk.’ Get a glimpse at the case in point output underneath:

As you can see, we have awk put in (as aspect of gawk) and the python-Hawkey offer.

Exhibit Offered Offers From A Precise Repo

You can also filter for the available deal in a specific repository. We can start by listing all enabled repositories with the command:

This will record all the available repositories in the procedure.

To look for for packages available only in a specific repo. An case in point, in the epel repository, we use the command:

sudo yum listing offered | grep epel

Example output is as shown:


In this swift tutorial, we coated yum and confirmed the obtainable and mounted packages in the technique.

Thanks for looking at!

Leave a Reply

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