现在的位置: 首页 > 综合 > 正文

Red Hat Package Manager-RPM

2013年05月05日 ⁄ 综合 ⁄ 共 1040字 ⁄ 字号 评论关闭


Red Hat Package Manager

he rpm (Red Hat Package Manager) utility works only with software packages that have been built for processing by rpm; it installs, uninstalls, upgrades, queries, and verifies rpm packages.

The Processor Architecture

  • i386 covers all Intel- and most AMD-based systems.

  • i586 covers Pentium-class processors and above.

  • i686 refers to Pentium II or better, and includes MMX extensions.

  • S390 is for IBM System/390.

  • ia64 is for the 64-bit Intel processor.

  • alpha is for the DEC/Compaq Alpha chip.

  • athlon denotes the AMD Athlon family including x86_64 and AMD64.

  • ppc is for the Power PC chip.

  • sparc covers the Sun Sparc processor).

  • Noarch can run on any architecture.

       

Querying Packages and Files

rpm -qa---Getting a list of on-line summaries of all packages installed on the system

rpm -q packageName

rpm -qi packageName

rpm -ql packageName---Listing the files in a package

rpm -qf fileName---Determining which package a file belongs to

Installing, Upgrading, and Removing Packages

rpm -Uvh packageName.rpm

U:Updating existing packages and installing new packages

v(verbose):Displaying information about what is happening

h:Displaying hash marks as the package is unpacked and installed

rpm -e packageName

 

抱歉!评论已关闭.