Linux Software Installation

Source: Internet
Author: User

Overview
    • Package Introduction
    • RPM Package Installation
    • Yum Online Installation
    • SOURCE Package Management
    • Script installation Package
Package Introduction Package Classification
    • SOURCE Package
    • Binary package (RPM package, system default package)
RPM Package Installation

Mount the System CD:

Mkdir/mnt/cdromMount/dev/sr0/mnt/cdromcd/mnt/cdrom/packagesDependence
    • Tree-dependent: C, a-B
    • Ring-dependent: A, B, C, a
    • Module dependency: Query website: www.rpmfind.net
Installation commands RPM-IVH Full-package-name

Options:

    • -I (Install) installation
    • -V (verbose) Show details
    • -H (hash) Show progress
    • --nodeps no dependency checking (actual environment disabled)
Upgrade command RPM-UVH Full-package-name

Options:

    • -U (upgrade) upgrade
Uninstall command rpm-e Full-package-name

Options:

    • -E (Erase) Uninstall
    • --nodeps no dependency checking (actual environment disabled)
Query command

To query whether a package is installed:

rpm-q Full-package-name

To query all installed RPM packages:

Rpm-qarpm-qa | grep keyword

To query Package details:

Rpm-qi Package-name

Options:

    • -I query Software information
    • -p query For information about packages that are not installed

Query the RPM package file installation location

RPM-QL Full-package-name

Querying file installation locations where RPM packages are not installed

RPM-QPL Full-package-name

which RPM package the query file belongs to

RPM-QF File-name

Querying the dependencies of a package

RPM-QR Full-package-name

Options:

    • -R Query Package dependencies
    • -P query does not install package information
Yum Online Installation Yum Install Package-name

Options:

    • -Y automatic installation, no need to confirm

Linux Software Installation

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.