First, the source installation method:
1. Download and unzip the source package
Usually the source package format: ". tar.gz", ". tar.bz2"
2. Analyze the installation platform environment
./configure can be followed by software installation path and required module options
3. Compiling and installing the software
After the./configure is executed, the makefile file is generated in the current directory
When you enter the Make command, the makefile file is found in the current directory
PS: If you use other files as makefile, you need to make files such as: Make-f Make_file
Chestnut: By soft install Apache HTTP Server
Create installation directory: Make-p/application/apache into the installation directory: Cd/application/apache download Apache Source: wget source file link (httpd-2.4.12.tar.gz) Unzip the source package: Tar XF httpd-2.4.12.tar.gz into the unpacked file directory: CD httpd-2.4.12.tar.gz compilation software:./configure--prefix=/application/ apache2.2.27--enable-deflate--enable-expires--enable-headers--enable-modules=most--enable-so--with-mpm=worker- -enable-rewrite installation software: Make && make install Second, RPM package installation
RPM is an abbreviation for Red Hat Package manager and is meant to be the Red Hat packages manager. Because this software is very convenient, and is gradually borrowed by other Linux vendors, it has become a common software package management method under the Linux platform.
Command format: (can be installed with multiple files)
Package Installation: Rpm-ivh file1.rpm file2.rpm
Package query: Rpm-qa file1.rpm
1)-F Query the RPM installation package for a file
2)-P query package name with ". RPM" Suffix for package installation
3)-L displays a list of all files in the package
4)-I display the package profile (software name, version, adaptation platform, size)
5)-G query system which packages are available for a given class
Uninstall Package: Rpm-e file1.rpm
Three, Yum installation method
Check if Yum is already installed
Rpm-qa|grep Yum
If no return value is not installed
RPM-IVH yum-*.noarch.rpm
Yum master configuration file:/etc/yum.conf
Resource Pool configuration directory:/ETC/YUM.REPOS.D
Installation and management of software under Linux