Linux Software Installation

Source: Internet
Author: User

1. SOURCE Package

Open source, compile and install, even can be modified, easy to uninstall, long installation time, too many steps, error is difficult to solve

2. RPM Package (binary package)

Source code not seen, installation fast, through the command to perform the installation, there are dependencies

RPM package is generally in the CD-ROM, module dependencies, difficult to solve, usually installed in the default installation location, get the system everywhere

installation command RPM-IVH package full name

Upgrade and uninstall RPM-UVH package full name RPM-E (erase) package name

Query Rpm-q Package name Q represents query-I package information-l list, query file installation location

Install package Check Rpm-v

#rpm –QL package name such as RPM-QL GCC to see where the GCC files are installed.

#rpm-qa | grep package name to see if this package is installed,

#rpm-QA View all installed package names

#dpkg-L package name to view GCC files such as dpkg-l gcc.
#dpkg-L | grep package name to see if a package is installed,

# dpkg-l is a view of all packages

Yum Online installation automatically solves dependency problems, downloads from the network

Yum CD Installation: Disable the network Yum source to make the CD Yum source effective

1. Yum source file

Installing packages with Yum

Command: Yum install xxx

Remove packages with Yum

Command: Yum Remove xxx

Find Packages using Yum

Command: Yum Search

List all packages that can be installed

Command: Yum list

List all packages that can be updated

Command: Yum list updates

List all installed packages

Command: Yum List installed

List all packages that are installed but not within Yum Repository

Command: Yum list extras

Lists the packages that you specify

Command: Yum list



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.