To install the software using Yum:
Automatic package installation (software management)
YUM
Resolve dependencies, automatically download packages, based on C/s architecture
S
The directory where the root of the disc is directly used (/media/xxx/or/MNT)
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/8B/E9/wKioL1hcfJfx--vFAAB4Ah-K2C4422.png-wh_500x0-wm_3 -wmp_4-s_3222708439.png "title=" qq picture 20161223091542.png "alt=" Wkiol1hcfjfx--vfaab4ah-k2c4422.png-wh_50 "/>
Configure the configuration file for the Yum Source:
Cd/etc/yum.repos.d
Centos-media.repo
Centos-base.repo is a configuration file for the Yum network source
Centos-media.repo is a configuration file for Yum Local source
Yum uses:
Installation:
Yum Clear All
Yum List
Yum Install zsh #安装zsh
Yum Install httpd
To install a set of packages:
Yum Grouplist
Yum Groupinstall "Development tools"
Yum query:
# RPM-pqi/mnt/packages/zsh-4.3.10-7.el6.x86_64.rpm View the role of a package
# Yum List z*
# Yum Search zsh
Yum's removal:
# yum Remove zsh
Option:- y #yes
# yum Install-y zsh
http://mirrors.sohu.com/#系统镜像站
source code compilation installation package :
Prerequisite: The system must be installed: development tools, Development library
Steps:
Get the source package
Extract
Configuration, detection of installation environment
This article is from the "11123555" blog, please be sure to keep this source http://11133555.blog.51cto.com/11123555/1885646
Configuration of the Yum source