Updating using yum
Updating using yum - little red dating
If you want to install packages automatically without asking any confirmation, use option -y as shown in below example.
It is an interactive, automated system for maintaining systems using RPM.This command lets you list packages in any repository enabled on your system or installed.It also lets you list specific types of packages as well as refine your list with a package specification of any of the package's name, arch, version, release, epoch.YUM (Yellowdog Updater Modified) is an open source command-line as well as graphical based package management tool for RPM (Red Hat Package Manager) based Linux systems.It allows users and system administrator to easily install, update, remove or search software packages on a systems.Login as the root user to install and update the system. perl-libxml-perl.noarch 0.08-1.2.1 base perl-suidperl.i386 4:5.8.8-10.el5_0.2 updates Installed Groups: Engineering and Scientific My SQL Database Editors System Tools Text-based Internet Legacy Network Server DNS Name Server Dialup Networking Support FTP Server Network Servers Legacy Software Development Legacy Software Support Development Libraries Graphics Web Server Ruby Printing Support Mail Server Server Configuration Tools Postgre SQL Database Available Groups: Office/Productivity Administration Tools Beagle Development Tools GNOME Software Development X Software Development Virtualization GNOME Desktop Environment Authoring and Publishing Mono Games and Entertainment XFCE-4.4 Tomboy Java Java Development Emacs X Window System Windows File Server KDE Software Development KDE (K Desktop Environment) Horde Sound and Video Free NX and NX News Server Yum Utilities Graphical Internet Done Loading "installonlyn" plugin Loading "security" plugin Setting up repositories Reading repository metadata in from local files Extra Packages Deny Hosts.noarch 2.6-python2.4 installed VMware Tools.i386 6532-44356 installed john.i386 18.104.22.168-3.el5installed kernel.i686 2.6.18-8.1.15.el5 installed kernel-devel.i686 2.6.18-8.1.15.el5 installed lighttpd.i386 1.4.18-1.el5installed lighttpd-fastcgi.i386 1.4.18-1.el5installed psad.i386 2.1-1 installed rssh.i386 2.3.2-1.2.el5installed Loading "installonlyn" plugin Loading "security" plugin Setting up repositories Reading repository metadata in from local files setup.noarch 2.5.58-1.el5 base Matched from: /etc/passwd setup.noarch 2.5.58-1.el5 installed Matched from: /etc/passwd The author is the creator of nix Craft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting.
Loading "installonlyn" plugin Loading "security" plugin Setting up repositories Reading repository metadata in from local files Installed Packages perl.i386 4:5.8.8-10.el5_0.2 installed perl-Archive-Tar.noarch 1.30-1.fc6 installed perl-BSD-Resource.i386 1.28-1.fc6.1 installed perl-Compress-Zlib.i386 1.42-1.fc6 installed perl-DBD-My SQL.i386 3.0007-1.fc6 installed perl-DBI.i386 1.52-1.fc6 installed perl-Digest-HMAC.noarch 1.01-15 installed perl-Digest-SHA1.i386 2.11-1.2.1 installed perl-HTML-Parser.i386 3.55-1.fc6 installed ..... He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector.
# yum install firefox Loaded plugins: fastestmirror Dependencies Resolved ================================================================================================ Package Arch Version Repository Size ================================================================================================ Updating: firefox i686 10.0.6-1.el6.centos updates 20 M Updating for dependencies: xulrunner i686 10.0.6-1.el6.centos updates 12 M Transaction Summary ================================================================================================ Install 0 Package(s) Upgrade 2 Package(s) Total download size: 32 M Is this ok [y/N]: y Downloading Packages: (1/2): firefox-10.0.6-1.el6.centos.i686| 20 MB (2/2): xulrunner-10.0.6-1.el6.centos.i686| 12 MB ------------------------------------------------------------------------------------------------ Total 63 k B/s | 32 MB Updated: firefox.i686 .0.6-1.el6.centos Dependency Updated: xulrunner.i686 .0.6-1.el6.centos Complete!
The above command will ask confirmation before installing any package on your system.
It allows you to install, update, and remove software on your computer running the RHEL/Fedora operating system. You can install yum on Debian-based systems with the command On the phone: (206) 988-5858 © 2009,
yum is a command-line utility which requires a network connection to a yum server, either locally or on the public Internet. Often, you may want to add more software sources, known as repositories. Content may be reprinted and/or distributed as long as this document remains unaltered and soundtraining.net, any named author, and credited as the source.
The example commands shown in this article are practically tested on our Cent OS 6.3 server, you can use these material for study purpose, certifications or just to explore ways to install new packages and keep your system up-to-date.