Linux Learning Notes Package management

Source: Internet
Author: User

> query file belongs to package

#rpm-qf/usr/share/pixmaps/xplns.png

To query the package that a file belongs to

> Query the list of files included in the package

#rpm-QL xplus-3.3.1-lglibc213

Query the list of all files included in the installed package

> Query Package summary information

#rpm-qi xplus-clm-3.3.1.1

> Query all installed Packages

#rpm-qa |grep ____ Package name

#rpm-IVH xplus-elm-3.3.1-l.i386.rpm

Install the Xplus-elm package in the current directory

> Test installation is not actually installed when the test installation has no error message

Physically install again #rpm-I--test xplu-elm-3.3.1-1.i386.rpm

> Force installation ignores package and file conflicts

#rpm-IVH--fore xplus-elm-3.3.1.-1.i386.rpm

You can also install an already installed RPM package

> Removal

#rpm-E Xplus-elm

> Forced removal

#rpm--nodeps-e Xplus-elm

> View all Mounted Packages

Rpm-qa|less-mn

Linux Learning Notes Package management

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.