12、软件安装与更新:YUM、PackageKit 和 RPM 全解析

软件安装与更新:YUM、PackageKit 和 RPM 全解析

1. 软件仓库与 YUM 配置

要查看可用的软件包,可使用网页浏览器访问相关站点,Fedora 和 RPM Fusion 提供了 repodata 目录以进行详细列表展示。若要在软件仓库上使用 YUM,需对其进行配置以访问这些仓库,这只需列出站点的 URL(包括网址和目录位置)。仓库的配置文件存放在 Linux 系统的 /etc/yum.repos.d 目录下的 repo 文件中。Fedora 的 repo 文件已安装,而要使用 RPM Fusion 仓库,需添加其 repo 文件。RPM Fusion 在其网站上提供了名为 rpmfusion-free-release-stable.noarch.rpm rpmfusion-nonfree-release-stable.noarch.rpm 的 RPM 包,安装这些包后,会自动设置 YUM 配置文件。

以下是部分仓库站点及其 repo 文件:
| 仓库站点 | 描述 | repo 文件 |
| — | — | — |
| http://download.fedoraproject.org | Fedora 仓库,提供符合 Fedora 标准的软件 | fedora.repo |
| http://download1.rpmfusion.org | RPM Fusion 仓库,提供驱动、多媒体等 RPM 包 | rpmfusion-free.repo 和 rpmfusion-nonfree.repo |

安装软件包时,PackageK

内存:9.2 M RSS (452 MB VSZ) 已启动: Sat Jun 21 16:32:10 2025 - 03:20之前 状态 :睡眠中,进程ID:2580 Another app is currently holding the yum lock; waiting for it to exit... 另一个应用程序是:PackageKit 内存:9.2 M RSS (452 MB VSZ) 已启动: Sat Jun 21 16:32:10 2025 - 03:22之前 状态 :睡眠中,进程ID:2580 Another app is currently holding the yum lock; waiting for it to exit... 另一个应用程序是:PackageKit 内存:9.2 M RSS (452 MB VSZ) 已启动: Sat Jun 21 16:32:10 2025 - 03:24之前 状态 :睡眠中,进程ID:2580 Another app is currently holding the yum lock; waiting for it to exit... 另一个应用程序是:PackageKit 内存:9.2 M RSS (452 MB VSZ) 已启动: Sat Jun 21 16:32:10 2025 - 03:26之前 状态 :睡眠中,进程ID:2580 Another app is currently holding the yum lock; waiting for it to exit... 另一个应用程序是:PackageKit 内存:9.2 M RSS (452 MB VSZ) 已启动: Sat Jun 21 16:32:10 2025 - 03:28之前 状态 :睡眠中,进程ID:2580 Another app is currently holding the yum lock; waiting for it to exit... 另一个应用程序是:PackageKit 内存:9.2 M RSS (452 MB VSZ) 已启动: Sat Jun 21 16:32:10 2025 - 03:30之前 状态 :睡眠中,进程ID:2580 Another app is currently holding the yum lock; waiting for it to exit... 另一个应用程序是:PackageKit 内存:9.6 M RSS (453 MB VSZ) 已启动: Sat Jun 21 16:32:10 2025 - 03:32之前 状态 :睡眠中,进程ID:2580
06-22
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值