CentOS使用yum group 安装的桌面环境大小,centosyum输出结果的最右边一列


使用yum group 安装的桌面环境大小

软件包名称大小MATE Desktop478MX Window System21MXfce129MGNOME414MServer with GUI617MGNOME Desktop655MKDE Plasma Workspaces600M

yum的用法

yum search 能够在已启用的软件包仓库中,对所有软件包的名称、描述和概述中进行搜索,


yum list 以及相关的一些命令则能够为你提供有关软件包、软件包集和软件仓库的信息


yum list all 列出所有已安装的和可用的软件包


yum list installed 列出所有已经安装在系统中的软件包。输出结果的最右边一列是取得该软件包的软件仓库。标识为 installed 的软件包则说明它是做为系统基本组件而预安装的。


yum grouplist 列出所有软件包组


yum repolist 列出所有启用的软件仓库的 ID,名称 及其包含的软件包的数量

[user@sgk_entos7 ]# yum repolist

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* epel: mirrors.tuna.tsinghua.edu.cn

repo id repo name status

base/7/x86_64 CentOS-7 - Base 9,363

epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_6 11,137

extras/7/x86_64 CentOS-7 - Extras 263

updates/7/x86_64 CentOS-7 - Updates 807

zabbix/x86_64 Zabbix Official Repository - x86_64 129

zabbix-non-supported/x86_64 Zabbix Official Repository non-supported - x8 4

repolist: 21,703

yum info 命令可查看一个或多个软件包的信息

yum reinstall ·重新安装软件包

yum provides commandname 查看命令所在的软件包

yum deplist iftop 列出软件的依赖

yum makecache 生成元数据缓存

yum -y install yum-fastestmirror 加快你的yum的速度

yum grooup remove

yum list installed 列出所有已安装的软件包

yum list extras 列出所有已安装但不在Yum Repository 內的软件包

yum info extras 列出所有已安裝但不在Yum Repository 內的软件包信息

yum clean all 清除所有

yum list yum* 列出所有以yum开头的软件包

yum localinstall ~ 从硬盘安装rpm包并使用yum解决依赖

相关内容

    暂无相关文章