2.2 RPM Installation and uninstallation

Source: Internet
Author: User

#rpm工具是redhat Package Manger

tree-1.5.3-2.el6.i686.rpm

Tree Package Name

1.5.3 Version number 1 is the major version number, 5 is the minor version number, 3 is the revision number

EL6 system platform, Red Hat Enterprise Edition 6

i686 32-bit

Noarch does not differentiate between 32-bit or 64-bit


#安装rpm包

RPM-IVH zip-3.0.1.el6.i686.rpm

I is the install

V is the view

H is the ability to view progress


#不需要关注依赖关系安装--nodeps. has been installed once, and then forced to install once with force

RPM-IVH--nodeps yt-tools-2.9-12.el6.i686.rpm

RPM-IVH--force yt-tools-2.9-12.el6.i686.rpm


#升级rpm包用-U

RPM-UVH yt-tools-2.9-12.el6.i686.rpm


#删除rpm包用-E

Rpm-e yt-tools-2.9-12.el6.i686.rpm


Exercises:

1. RPM Package aaa-1.3.4.i686.rpm, the explanation about it is correct?

AAA for Package Name

1.3.4 for version information

i686 is the platform information, says it is 32 bit

Major version number is 1, minor version number is 3, modified version

2. Install and uninstall RPM Package aaa-1.3.4.i686.rpm the command is correct?

RPM-IVH AAA-1.3.4.I686.RPM installation Package

RPM-E AAA Offload Package


Summarize:

Main: RPM Package-IVH Install-u upgrade-e Uninstall

Minor: RPM package--nodeps does not need to focus on dependencies--force Force installation


2.2 RPM Installation and uninstallation

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.