erase Remove a package or packages from your system groupinfo Display details about a package group groupinstall Install the packages in a group on your system grouplist List available package groups groupremove Remove the packages in a group from your system help Display a helpful usage message h...
-l:list,列出该软件所有的文件与目录所在完整文件名(Listfileinpackage) -c:configuration,列出该软件的所有设置文件(找出在/etc/下面的文件名而已)(List onlyconfigurationfiles) -d:documentation,列出该软件所有的帮助文档(List only documentation files) -R:required,列出与该软件有关的依赖软件所含的文件(List c...
-p, --package query/verify a package file -l, --list list filesinpackage -d, --docfiles list all documentation files -f, --file query/verify package(s) owning file RPM源代码包装安装 .src.rpm结尾的文件,这些文件是由软件的源代码包装而成的,用户要安装这类RPM软件包,必须使用命令: rpm --...
To list the files in a package, use the repoquery utility, which is included in the yum-utils package. For example, the following command lists the files that the btrfs-progs package provides. # repoquery -l btrfs-progs /sbin/btrfs /sbin/btrfs-convert /sbin/btrfs-debug-tree . . . Not...
-p, --package query/verify a package file -l, --list list files in package -d, --docfiles list all documentation files -f, --file query/verify package(s) owning file 常用命令: 查询已安装的 rpm -q 查询一个已经安装的文件属于哪个软件包 ...
check Check for problems in the rpmdb check-update Check for available package updates clean Remove cached data deplist List a package's dependencies distribution-synchronization Synchronize installed packages to the latest available versions downgrade downgrade a package ...
yum list 第一列是包名,第二列是版本号,第三列是仓库名 base配置文件在/etc/yum.repos.d/CentOS-Base.repo下 yum search vim 搜索vim相关的包 yum install -y 包名,参数-y安装时不再询问是否安装 yum grouplist列出组 yum groupinstall -y 包名,安装组件 ...
x86_64 Version : 1.6.0 Release : 10.el7 Size : 87 k Repo : installed From repo : cdrom Summary : File system tree viewer URL : http://mama.indstate.edu/users/ice/tree/ License : GPLv2+ Description : The tree utility recursively displays the contents of directories in a : tree-lik...
To keep your system up-to-date with all security and binary package updates, run the following command. It will install all the latest patches and security updates to your system. # yum update 12. List all available Group Packages In Linux, a number of packages are bundled into a particula...
Once we have finished working, it is useful to clean up any unwanted cache files. These files are stored in/var/cache/yumand are created by theyum makecachecommand. To clear the cache just run: # yum clean all Of course, you don’t have to list installed packages with yum, if you ...