Home > Ask the Enterprise Linux Experts > Questions & Answers > Using yum vs. RPM
Ask The Enterprise Linux Expert: Questions & Answers
EMAIL THIS

Using yum vs. RPM

Nigel McFarlane EXPERT RESPONSE FROM: Nigel McFarlane

Pose a Question
Other Enterprise Linux Categories
Meet all Enterprise Linux Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 28 May 2004
I've heard that yum is a good alternative to the clunky Red Hat updater. What is yum, and how can I best use it?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Looking at the home page, http://linux.duke.edu/projects/yum/, I think my memory started working again. The main problem with straightforward use of the rpm tool (at least the older versions I've played with) is this: The package you have at hand may depend on other packages that you don't have at hand. Plain rpm doesn't help you with this problem beyond reporting that specific dependancies exist. You have to go and fetch those other packages yourself, and then call rpm again. Second-generation package installers automate the retrieval and install of dependant packages, so that you get a "cascade" effect. If you install one package, everything else required is dragged in too. It's a little like cascaded updates in a relational database. Beyond that, I haven't played with yum.

The benefit of these newer systems is that you can think less -- the tool imports a flock of updates everytime you use it. The downside is that you lose a little control over the patch level of your host -- you have to operate at a higher level and keep track of everything you tell yum to do. You have to trust yum to keep the patch level of the host sanely arranged, because you can't control the system at the level of a single RPM anymore.

According to the yum docs, you can run yum with packages sourced from a central repository. So you should be able to drag down newly released packages to one spot, and then by running yum on each host, the same flow of patches should be sent to each host from that spot. Standardised and semi-automated patching.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Linux Migration Advice: Unix-to-Linux, Windows-to-Linux
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts