Red Hat Package Manager-RPM

本文介绍了Red Hat包管理器rpm的功能与使用方法,包括查询、安装、升级和卸载软件包等操作。同时详细列出了适用于不同处理器架构的软件包类型。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >



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

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值