Tutorials/Tips

Yum in Redhat Enterprise Linux 6.1

Editor: This post is by James Antill. It looks at yum, the command line tool for managing applications on certain RPM-based Linux distributions like Redhat Enterprise Linux and Fedora.

Time to look at a few features of yum in RHEL-6.1 now that it’s released:

Search is more user-friendly – As we maintain yum we are always looking for the “minor” changes that can make a big difference to the user, and this is probably one of the biggest minor changes. As of late RHEL-5 and RHEL-6.0 “yum search” was great for finding obscure things that you knew something about but with 6.1 we’ve hopefully made it useful for finding the “everyday” packages you can’t remember the exact name of. We did this by excluding a lot of the “extra” hits, when you get a large search result. For instance “yum search kvm manager” is pretty useless in RHEL-6.0, but in RHEL-6.1 you should find what you want very quickly.

Example commands:

yum search kvm manager
yum search python url

The updateinfo command – The “yum-security” or “yum-plugin-security” package has been around since early RHEL-5, but the RHEL-6.1 update has introduced the “updateinfo” command to make things a little easier to use, and you can now easily view installed security errata (to more easily make sure you are secure). We’ve also added a few new pieces of data to the RHEL updateinfo data. Probably the most significant is that as well as errata being marked “security” or not they are now tagged with their “severity”. So you can automatically apply only “critical” security updates, for example.

Example commands:

yum updateinfo list security all
yum update-minimal --sec-severity=critical

The versionlock command – As with the previous point we’ve had “yum-plugin-version” for a long time, but now we’ve made it easier to use and put all it’s functions under a single “versionlock” sub-command. You can now also “exclude” specific versions you don’t want, instead of locking to known good specific ones you had tested. Continue reading…

Related Posts

DevAssistant: A developer’s best friend One application I came across while testing an installation of the main edition Fedora 21 alpha is DevAssistant. (See Fedora 21 Workstation: GNOME 3. ...
Dual-boot Windows 8 and Ubuntu 12.10 on UEFI hardware Alternate titles: How to dual-boot Ubuntu 12.10 Desktop and Windows 8 Pro; how to dual-boot Windows 8 and Ubuntu 12.10; dual-booting Windows 8 and Ubu...
Why I switched from Postgres to MongoDB, then to Neo4j When you're about to start a project and are trying to make a decision on the what applications to use, one way to proceed is to find out what other p...
Install Cinnamon on Fedora 19 Summary: This article shows how to install the latest and greatest Cinnamon Desktop Environment on Fedora 19 (code-named Schrodinger's Cat), the lates...
How to dual-boot BackTrack 5 R2 and Ubuntu 12.04 BackTrack Linux is now known as Kali Linux. You may read all Kali Linux articles and tutorial at http://linuxbsdos.com/category/kali-linux. Yet a...
Semi-manual LVM disk partitioning guide for Fedora 18 This is the latest article on Fedora. You may access all Fedora-related articles on its category page at http://linuxbsdos.com/category/fedora. The...
Tags:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

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

*