Software installation methods in Linux:
1 RPM-IVH package name. rpm
There is a dependency problem, installation a,a need to install B,b first install C and so on.
2 Yum installation, Yum Package Manager, yum install to solve the dependency problem of RPM installation, install more simplified.
Advantages: Simple, easy to use, efficient
Cons: cannot be customized
CentOS Switch online yum source address is Aliyun address method:
650) this.width=650; "width=" 650 "height=" 560 "title=" 8.jpg "style=" width:700px;height:560px; "alt=" Wkiol1mx1elg5jgraai4apyj76m942.jpg "src=" https://s1.51cto.com/wyfs02/M00/9E/DA/ Wkiol1mx1elg5jgraai4apyj76m942.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "/>
650) this.width=650; "width=" 650 "height=" 560 "title=" 9.jpg "style=" width:700px;height:560px; "alt=" Wkiom1mx1e3tdngiaajjyhkw09o015.jpg "src=" https://s5.51cto.com/wyfs02/M02/00/2A/ Wkiom1mx1e3tdngiaajjyhkw09o015.jpg "border=" 0 "vspace=" 0 "hspace=" 0 "/>
To copy the corresponding version of the Toggle command, enter the switchover command in CentOS:
[Email protected] tools]# Wget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repo
3 compilation (c language source code-compiled binary, etc.)
./configure (configuration process), make (compile), make install (install)
Advantages: Can be customized
Cons: Complex, low efficiency.
4 Custom made RMP package, set up the Yum Warehouse, put the customized RPM package in the Yum warehouse for Yum installation
Advantages: Combined with 2 advantages and 3 advantages
Cons: Complex.
This article is from the "Sandshell" blog, make sure to keep this source http://sandshell.blog.51cto.com/9055959/1958844
Summary of software installation methods in Linux