[root@iZ ~]# dnf list installed 列出可安装软件包列表 [root@iZ ~]# dnf list available 查看软件包详情 [root@iZ ~]# dnf info wget Repository epel is listed more than once in the configuration 上次元数据过期检查:0:44:48 前,执行于 2021年11月22日 星期一 22时50分11秒。已安装的软件包...
(1) yum repolist (显示仓库列表) (2)yum list (显示仓库的所有程序包)或者yum list all (显示仓库的所有程序包和系统已安装的程序包) (3) yum install (程序安装);yum reinstall(程序重新安装) (4)yum update (程序升级);yum downgrade (程序降级) (5)yum check-update (检查可升级) (6)yum remove ...
Installed: dnf-0:4.7.0-4.el8.noarch at Mon 14 Feb 2022 01:02:53 AM GMT Built : CentOS Buildsys <bugs@centos.org> at Fri 17 Sep 2021 07:06:14 PM GMT Installed: rpm-0:4.14.3-19.el8.x86_64 at Mon 14 Feb 2022 01:02:19 AM GMT Built : CentOS Buildsys <bugs@centos.org> at...
dnf grouplist 安装开发包组 dnf groupinstall "Development Tools" -y 8. 查询软件的详细信息 查看某个软件的详细信息 [root@jeven ~]# dnf info tree Last metadata expiration check: 0:21:56 ago on Mon 03 Jul 2023 07:32:09 PM CST. Installed Packages Name : tree Version : 1.6.0 Release ...
[root@iZ ~]# dnf list installed 列出可安装软件包列表 代码语言:txt 复制 [root@iZ ~]# dnf list available 查看软件包详情 代码语言:txt 复制 [root@iZ ~]# dnf info wget Repository epel is listed more than once in the configuration
Installed Packages 已安装的包 Available Packages 可安装的包 注意repo前加了@符的,表示是已安装的 2,列出已安装的软件包 [root@blog ~]# dnf list installed 3,列出所有可安装的软件包: [root@blog ~]# dnf list available 4,查看包的详细信息 ...
install install a package or packages on your system list list a package or groups of packages makecache generate the metadata cache mark mark or unmark installed packages as installed by user. module Interact with Modules. provides find what package provides the given value ...
# dnf list 5. 用DNF列出所有已安装的软件包 尽管'dnf list'命令将列出所有仓库中所有可用的软件包和已安装的软件包。然而像下面一样使用'list installed'选项将只列出已安装的软件包。 # dnf list installed 6. 用DNF列出所有可用的软件包 类似的,可以用'list available'选项列出所有开启的仓库中所有可用的软件...
root@sap1nim:/opt/freeware/packages: dnf list installed Traceback (most recent call last): File "/opt/freeware/bin/dnf", line 58, in <module> from dnf.cli import main File "/opt/freeware/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module> ...
列出已安装的软件包:使用 dnf list installed 命令来列出系统中已安装的所有软件包。例如,要列出所有已...