Upgrade Software Packages and Dependencies for RPM-Based Distributions


yum update

Your Linux system contains hundreds, if not thousands, of software packages, and upgrades come out constantly for one package or another. It would be a full-time job for you to manually keep track of every new version of your software and install updates, but yum makes the process easy. A simple yum update command tells yum to check for any upgrades to the software it's tracking. If new packages are available, yum shows you what's available and asks your permission to proceed with an install.

# yum update Setting up Update Process Setting up repositories update 100% |====================|  951 B    00:00 base   100% |====================| 1.1 kB    00:00 Resolving Dependencies --> Populating transaction set with selected  packages. Please wait. ---> Downloading header for cups-libs to pack into  transaction set. cups-libs-1.1.22-0.rc1.9. 100% |==========|  22 kB 00:00 ---> Package cups-libs.i386 1:1.1.22-0.rc1.9.10 set  to be updated --> Running transaction check Dependencies Resolved Package Arch Version          Repository Size Installing: openssl i686 0.9.7a-43.4      update      1.1 M pam     i386 0.77-66.13       update      1.8 M perl    i386 3:5.8.5-24.RHEL4 update       11 M udev    i386 039-10.10.EL4.3  update      830 k wget    i386 1.10.2-0.40E     update      567 k Transaction Summary Install      1 Package(s) Update      11 Package(s) Remove       0 Package(s) Total download size: 30 M Is this ok [y/N]: 


If you press y at this point, you're giving yum approval to download and install 12 packages. After lots of output, yum completes its job, and your computer is now up to date. Want to live on the bleeding edge? Run yum update daily. If you're not desirous of always using the latest and greatest, run yum update at a longer interval, but be sure to run it regularly. Security updates for software come out all the time, and it's a good idea to keep up-to-date.



Linux Phrasebook
Linux Phrasebook
ISBN: 0672328380
EAN: 2147483647
Year: 2007
Pages: 288

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net