Software installation and management under 3:linux Linux

Source: Internet
Author: User
Tags bz2

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.