How to use Yum Update/install software on Rhel 6.5 _linux

Source: Internet
Author: User
Tags pack centos

1 first, need to remove the system registration related software

∘ View related software: Rpm-qa | grep Subscription-manager

∘ removal related software: Yum remove Subscription-manager

2 in order to use the Yum source provided by CentOS, it is necessary to remove the Yum from the system.

∘rpm-aq | grep Yum | Xargs rpm-e--nodeps

3 download and install Yum from CentOS

∘wget http://vault.centos.org/6.0/os/x86_64/Packages/Python-iniparse-0.3.1-2.1.el6.noarch.rpm

∘wget http://vault.centos.org/6.0/os/x86_64/Packages/yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm

∘wget http://vault.centos.org/6.0/os/x86_64/Packages/yum-3.2.27-14.el6.centos.noarch.rpm

∘wget http://vault.centos.org/6.0/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm

∘RPM-IVH python-iniparse-0.3.1-2.1.el6.noarch.rpm

∘RPM-IVH yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm

∘RPM-IVH yum-3.2.27-14.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm

∘ Note: yum-3.2.27-14.el6.centos.noarch.rpm and yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm are interdependent and need to be installed simultaneously

4) using CentOS Yum Source update

∘cd/etc/yum.repos.d/

∘wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo

∘ edit Centos6-base-163.repo, replace all $releasever fields with 6

∘yum Makecache

∘yum vim* ===> is used only as a test to see if Yum is available

5) Example: Install VirtualBox-4.3

∘ download virtualbox-4.3-4.3.30_101610_el6-1.x86_64.rpm and oracle_vm_virtualbox_extension_ from VirtualBox website Pack-4.3.30-101610.vbox-extpack

∘RPM-IVH virtualbox-4.3-4.3.30_101610_el6-1.x86_64.rpm, found dependent libsdl

∘yum Install SDL

∘RPM-IVH virtualbox-4.3-4.3.30_101610_el6-1.x86_64.rpm, installation successful

∘ Double-click to run Oracle_vm_virtualbox_extension_pack-4.3.30-101610.vbox-extpack, install the expansion pack

∘ Open VirtualBox and start his own work.

The above is small series for everyone to bring in the Rhel 6.5 use Yum Update/Installation software operation method All content, I hope we support cloud Habitat Community ~

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.