1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| rpm -i, --install install package(s) rpm -v, --verbose provide more detailed output rpm -h, --hash print hash marks as package installs (good with -v) rpm -e, --erase erase (uninstall) package rpm -U, --upgrade=<packagefile> upgrade package(s) rpm --replacepkge 无论软件包是否已被安装,都强行安装软件包 rpm --test 安装测试,并不实际安装 rpm --nodeps 忽略软件包的依赖关系强行安装 rpm --force 忽略软件包及文件的冲突
Query options (with -q or --query): rpm -a, --all query/verify all packages rpm -p, --package query/verify a package file rpm -l, --list list files in package rpm -d, --docfiles list all documentation files rpm -f, --file query/verify package(s) owning file
|