There are two types of packages currently in vogue, one is the intelligent installation package represented by RPM package, Deb package, and the other is compressed in file.tar.gz form.
A smart Installation
Take MySQL as an example
Yum Search mysqld
Two manual compilation
Taking Ettercap as an example
1 TAR-ZXVF ettercap-0.8.2.tar.gz
2 CD Ettercap
3 ls
4 The required installation package can be seen through the Bundled--deps directory, once the dependency package is installed
54 Dependent packages After installation can be CD switch to Ettercap extract directory Create installation ettercap required build directory
That
1.1 MkDir Build
1.2 CD Build
1.3 CMake. /
1.4 Make && make install
At this point, the installation is complete, but you will be prompted for some packages at cmake. You only need to follow the instructions in the package with Yum installation can be as follows
The installation is complete
Add:
A yum
1 Yum wget
2 Yum Groupinstall "Development tools"
Yum Install gcc g++
3 Yum Search wget (software's name)
4 Yum deplist wget list dependencies
5 Yum Remove wget
6 Yum list installed list the programs you want to install
Two rpm
1-IVH Show installation Progress-UVH upgrade Package-QPL List Package information
-qpi View the description of the package-QF find out which package the specified software belongs to
-va See all packages to see which package is missing.
-E Delete Package
2 Curl-o name.rpm HTTP://IP
Three manual compilation
1 TAR-ZXVF
Cd
./configure (detects the generation of makefile, if there is makefile there is no need to execute./configure)
Make (build tool primarily for C CPP compilation) && make install
CentOS Yum Installation and manual compilation Ettercap