7.6 Yum replacing domestic sources
wget download the URL, download the file;
Install the wget command, #yum install-y wget;
Curl-o download URL, download file
7.7 Yum Download RPM package
Installing the extension source Epel
installation command #yum install-y epel-release
View command #yum List | grep Epel
Yum Download RPM Package
Download not install command only, #yum install-y package name--downloadonly
View the downloaded file, command #ls/var/cache/yum/x86/7/
Specify the download Path command, #yum install-y package name--downloadonly--downloaddir= path
7.8/7.9 Source Package Installation
SOURCE Package Installation
Later contract package download path is/usr/local/src/
Go to download directory, #cd/usr/local/src/
Download the package, #wget download URL
Package decompression, #tar ZXVF httpd-2.2.32.tar.gz
Enter the extracted directory, #cd httpd-2.2.32
Specify the Software installation directory, #./configure--prefix=/usr/local/apache2
Make
Make install
Uninstall is to delete the installed files
Extended
1. Configure the Yum source priority http://ask.apelearn.com/question/7168
2. Package the source package into RPM package http://www.linuxidc.com/Linux/2012-09/70096.htm
Linux Study notes Fifth week second class (March 6)