First, the source installation
./Configuremake makeinstall
Second, RPM package
1. Install the Package
rpm-i [Auxiliary options] file1.rpm file2.rpm
Main option-i:install, installing
Accessibility Options:
Accessibility Options |
Description |
-V |
Show additional information |
-H |
Output mark at installation # |
--test |
Test, not physically installed |
--nodeps |
Do not check dependencies |
--force |
Ignore package and software conflicts |
--replacepkgs |
Forcing a reinstallation |
--prefix |
Install the package to the path specified by the prefix option |
--percent |
Output installation progress as a percentage |
--excludedocs |
Do not install the description file in the package |
--includedocs |
Installation package contains description files |
2. Querying packages
RPM-Q [Auxiliary options] Package1...packagen
Accessibility Options |
Description |
-F |
Query the operating system which corresponding RPM package a file belongs to |
-P |
Query package name after package installation with. RPM suffix |
-L |
Displays a list of all files in the package |
-I. |
Display Package summary information |
-G |
Query system which packages belong to the specified category |
-D |
Displays a list of description files for the package |
-S |
Displays the status of each file on the basis of-l |
-R or--requries |
Display the features required by the package |
--provides |
Display the functionality provided by the package |
3. Verifying the Package
RPM-V [Auxiliary options] Package1...packagen
4. Update packages
rpm-u [Auxiliary options] file1.rpm ... filen.rpm
5. Removing packages
RPM-E [Auxiliary options] package1 ... Packagen
Accessibility Options |
Description |
--test |
Perform only delete tests |
--nodeps |
Do not check dependencies |
Three, Yum installation method
rpm-qa| grep Yum // Check if Yum is installed
Yum-*.noarch.rpm // install yum
Yum InstallXxx//installationYumRemove xxx//DeleteYumCheck-update//Check for UpdatesYumUpdate//Update all RPM packagesYumUpdate Kernel kernel-Source//Update KernelYumUpgrade//Upgrade VersionYum Info //Query RPM Package Information
Four or two binary software installation
This format of software installation is actually the decompression
// *.tar.gz Format tar -zxvf xxx. Tar . GZ // *.bz2 Format tar -jxvf xxx. tar. bz2
In addition, there are some installation scripts such as install.sh, which can be executed
Software installation and management under 3:linux Linux