Find the mirror site closest to yourself through the http://mirror-status.centos.org website
Here I use mirrors.163.com as our image site
1. To use the centos source, you must remove or disable the RHEL update source and delete the yum tool that comes with rhel6.
# Cd/etc/yum. Repos. d
# Mv packagekit-media.repo packagekit-media.repo.back
Back up the data for accidental recovery. If any other source setting
1. Installing and uninstalling the software using Yum is provided that the Yum installed packages are in RPM format. Install the command is,yuminstall ~,yum will query the database, there is no such package, if any, then check its dependency conflict, if there is no dependency conflict, it is best to download the installation, if there is, will be prompted to ask
Document directory
RPM package update
Installation and deletion of RPM packages
Parameters related to Yum temporary storage (/var/Cache/Yum /)
Package list
RPM package information display (the info parameter is the same as the list)
Search for RPM packages
What is yum?
Yum = yellow dog Updater, modified
Yum error caused by Python upgrade
One day, you need to install an rpm package on the Linux server. As a result, when you run the yum command, an error is reported in any case, as shown below:
[Root @ test bin] # yumThere was a problem importing one of the Python modulesRequired to run yum. The error leading to this problem was:No module named yumPlease install a
system is very convenient and user-friendly, that is, many software or services do not need to be downloaded, and the corresponding commands can be directly used for management, I think it is a concept of "cloud. Yum can be used to run rpm packages, for example, managing a software on the Fedora system: install: yum install
Uninstall: yum remove
Update:
[Email protected] ~]# yum-y install Fonts-chineseLoading "Rhnplugin" pluginLoading "Security" pluginThis system isn't registered with the portal.Portal support would be disabled.Setting up Install ProcessParsing Package Install argumentsNo Package Fonts-chinese available.Nothing to do[[email protected] ~]# Yum updateLoading "Rhnplugin" pluginLoading "Security" pluginThis system isn't registered with the por
Yum Command
The Yum command is an RPM-based package manager in Fedora and Redhat as well as SUSE, which enables system administrators to interact and automate finer and more granular management of RPM packages, automatically downloading RPM packs from designated servers, and installing You can automate dependency relationships and install all dependent software packages at once, without the hassle of downl
Yum (all called Yellow dog Updater, Modified) is a Shell front-end Package Manager in Fedora. Based on RPM package management, You can automatically download and install the RPM package from the specified server, automatically handle dependencies, and install all dependent software packages at a time, you do not need to download and install it repeatedly.
In our usual CentOS software installation, the yum c
Package management in Linux: YUM
Lab environment:
One CentOS release 6.6 (Final)
IP Address: 172.16.249.230
Attached: CentOS release 6.6 CD image file
CentOS-6.6-x86_64-bin-DVD1.iso
CentOS-6.6-x86_64-bin-DVD2.iso
YUM (Yellow dog Updater, Modified) is developed by the Duke University team to modify the Yellow Dog Updater of Yellow Dog Linux. It is a character front-end Software Package Manager based on RPM p
Use the optical drive as the source
To avoid problems such as incomplete software packages, slow downloading speeds, and network faults that may occur when downloading software packages from the network, we strongly recommend that you use a local DVD/cd iso to create a yum repository, in this way, the installation speed is fast, and all software packages can be installed smoothly.
If you have a yum reposito
Upgrading specific systems and software using Yum installation:
the article includes Yum configuration files and Repo detailed documentation, and will redhat5.1 Upgrade to redhat5.11 two parts .
First, yum installation view
Yum main function is more convenient to add/remove/update RPM package, automatically solve the
Yum installation and frequently encountered problem solving
Red Hat Enterprise Linux as Release 4 (Nahant Update 4) is referred to as AS4.
Linux common installation and upgrade tools are mainly Yum and apt, where yum can better solve the problem of RPM dependencies, recommended the use of Yum.On the standard Redhat Enterprise Linux,
As more and more Linux servers are installed on the Intranet, you must upload the installation disk to install software on each server. It is troublesome and time-consuming to configure the local yum service. You can install the yum service on a Linux server on the Intranet, and then other servers can directly modify the repo file to use the yum service. Configur
Using nginx-to build a yum warehouseIntroduction:Yum is primarily used to automatically install and upgrade RPM packages, which automatically find and resolve dependencies between RPM packets. To successfully install the Update software or system using the Yum tool, you need to have a repository (software repository) with a variety of RPM packages, which we are used to as a
############ #如何安装软件 ####################Yum #全称Yellow dog Updater moddified to automatically download RPM packages and install them from the specified serverYum List all # #列出所有安装包Yum List installed # #列出已经安装的Yum List available # #列出没有安装的Yum Remove Packages # #卸载软件 (package is a bundle)
The RPM is described in detail in the previous blog "Management--rpm Package Manager for Linux packages", but there is a problem? Is that RPM does not automatically resolve dependencies between packages. So there's an enhanced version of the RPM manager-yum.The following is an example of the CentOS6 series.First, Yum IntroductionYUM (Yellowdog Updater Modified) is a C/s architecture, why can it automatically solve the dependency relationship? This dep
Original address: http://www.centoscn.com/CentOS/help/2013/1019/1906.html
CentOS Software installation can be roughly divided into two categories:
[centos]rpm file installation, use the RPM instruction similar to [ubuntu]deb file installation, use dpkg instruction
[Centos]yum installation is similar [ubuntu]apt-get installation
RPM command
(a) query system installed software information
For an RPM package, there are "-" and "." Composition, basica
I. What is yum?Yum = yellow dog Updater, modifiedThe main function is to conveniently Add/delete/update RPM packages.It automatically solves the dependency problem of the package.It facilitates management of a large number of system update ProblemsNote: The simplest reason for using Yum instead of APT is that ora comes
Ii. Yu
Full configuration of Linux yum SourceI. Introduction yum is mainly used to conveniently Add/delete/update RPM packages. It automatically solves the dependency problem of packages and facilitates management of a large number of system updates, the concept is to use a central repository to manage the relationship between some or even a distribution application, and perform related upgrade, installation, and
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.