1 YUM
1 RPM Package Form management software although convenient, but need to manually solve the software package dependencies, a lot of time to install a software need to first install 1 or more other software, but we yum can solve this problem
2 YUM (Yellowdog Updater Modified) is an RPM front-end program designed to solve the rpm dependency
The characteristics of the 3 Yum are as follows
Automatically resolve dependencies
To group rpm and install based on a group
Introduce the concept of warehouse to support multiple warehouses
Simple configuration
4 Yum introduced the concept of warehouse, the warehouse used to store all the RPM package, when the use of Yum to install a program, if there is a dependency, will automatically find the dependent software in the warehouse and install
5 warehouses can be local, or can be centralized through the Http,ftp,nfs form of a unified network warehouse
2 Yum Warehouse
1 Yum use warehouse to save management RPM software package, warehouse configuration file is saved in/ETC/YUM/REPOS.D directory
2 warehouse can use FILE,HTTP,FTP,NFS mode
3 Yum configuration file must be with, repo end
41 Profiles can hold configuration information for multiple warehouses
More than one configuration file can exist in the 5/etc/yum.repos.d/directory
3 Yum Basic command
1 Install the specified software yum install Software-name
2 Uninstall the specified software yum remove software-name
3 Upgrading the specified software yum update software-name
4 Yum Query
Search: Yum search keyword
List: Yum list (all | installed |recent |updates)
Display information for the specified software: Yum info packagename
Query RPM software contains target files: Yum whatprovides filename
4 Create Yum Warehouse manually
1 copy all rpm files into a folder
2 manual installation of Createrepo software via RPM command
3 Run command createrepo-v/rpm-directory
4 If you have grouped information, use the-G parameter to specify the grouped files when you run the command
5 after the creation of this machine can be used directly through the file, if necessary as an external Yum warehouse server, you can use HTTP, FTP or NFS to share the way out
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/