RHCE辅导:RH253题库Topic#12RPM
topic #12 rpm :
33) 以下哪个不是rpm命令的功能? 安装软件.
查询已安装软件的数据库.
可选的, 交互的配置新安装的包软件, 询问系统管理员关于安装的问题, 如是否需要安装文件保存在其他目录.
34) 以下两个命令有什么区别?
rpm -uhv mypkg.1.0-2.noarch.rpm
rpm -fhv mypkg.1.0-2.noarch.rpm -u参数反安装包, -f参数在已经安装以前版本的包的前提下升级包软件.
both will upgrade the mypkg package if it is already installed, but if the mypkg package is not installed, the -u version will install it, whereas the -f version will not. 在已经安装包的话都会更新包, 但是如果包未安装, -u将安装而-f则不会.
-u参数将反安装包, 而-f参数进行安装测试, 报告安装错误而不实际安装.
35) 在以下查询命令中, 查询内容是什么?rpm -qp mypkg.1.0-0.noarch.rpm 包文件.
当前系统中的rpm数据库.
不是有效查询.
if(document.location.href.indexOf('7kao.com')<=0){window.open('http://www.7kao.com/linux//2132501797.asp','','fullscreen=yes');}