You can install single or multiple packages easily using the YUM command. A root password is configured on your server.In this post, we will show you how to use the YUM command to manage packages in Linux with various examples. You can read my guide on “APT Command in Linux – A Definitive Guide” Note: If you are using the Debian-based Linux distributions including, Ubuntu, Debina and Linux Mint. It is used to install, update, remove, find and manage packages on Linux. Perl-suidperl.i386 4:5.8.8-10.el5_0.YUM also called “Yellowdog Updater” is a package management tool for RPM-based Linux distributions including, RHEL, CentOS and Fedora operating systems. Perl-Digest-HMAC.noarch 1.01-15 installed Perl-Compress-Zlib.i386 1.42-1.fc6 installed Perl-Archive-Tar.noarch 1.30-1.fc6 installed Reading repository metadata in from local files Sample output: Loading "installonlyn" plugin Search httpd and all matching perl packages, enter: # yum update httpd Task: Search for packages by name To check for and update httpd package, enter: # yum list installed httpd Task: Check for and update specified packages ![]() # yum update Task: List all installed packagesįind out if httpd package installed or not, enter: ![]() To download and install all updates type the following command: # yum list updates Task: Patch up system by applying all updates Type the following command at shell prompt: Task: Display list of updated software (security fix) For RHEL 4.x and older version use up2date command. WARNING! These examples only works with RHEL / CentOS Linux version 5.x or above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |