Linux rpm Yum installation software

Source: Internet
Author: User

RPM Installation:

1, RPM package to understand:

RPM Installation Upgrade Removal

RPM-IVH ****.rpm Installation

RPM-UVH ****.rpm Upgrade

RPM-E name Delete

Inquire

Rpm-qa query All packages that have already been installed

Rpm-q Name Query name package, whether the

Rpm-qi Name Query information about the name package

RPM-QL name queries the related files contained in the name package

Rpm-qf/path/file_name query which installation package a file belongs to

Special usage

RPM-QF ' which comand_name ' queries the package to which the related command belongs

Yum Install software

Yum install name.rpm installation related packages (automatic installation of dependent packages)

Yum list lists all packages in the Yum source

Yum Search name query, related package (fuzzy query) with name Word

Yum List | grep ' command_name ' query the command_name you're looking for

Yum grouplist Query Group installation package

Yum Groupinstall group_name Installation Pack

Yum Groupremove group_name Delete a group package

Yum Remove Package_name Delete a package

Yum Update upgrades all packages (can be upgraded as soon as new systems are installed)

Yum Update package_name upgrade a package

Yum provides "/*/vim" find out which package vim belongs to (you can find packages that are not installed)

Setup of Yum Local Source:

Mount/dev/sr0/mnt/path_dir_name

cd/etc/yum.repos.d/

RM-RF *

echo "

[Diy_repo]

Name=diy_repo

Baseurl=file:///mnt/path-dir_name

Enable=1

Gpgcheck=0

"> Aaa.repo

Yum clean clears the previous cache

Then Yum list can view and install the

Linux rpm Yum installation software

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.