安装
rpm { -i|--install} [install-options] PACKAGE_FILE ...
-v:显示详细信息
-vv:显示更多详细信息
-h:以#显示程序包安装管理执行进度: 每个#表示2%的进度
#rpe -ivh 安装包
[root@centos6 Packages]# rpm -ivh zsh-4.3.11-4.el6.centos.x86_64.rpm
Preparing... ########################################### [100%]
1:zsh ########################################### [100%]
报错
[root@centos6 Packages]# rpm -ivh php-odbc-5.3.3-40.el6_6.x86_64.rpm
error: Failed dependencies: #依赖检测失败
libodbc.so.2()(64bit) is needed by php-odbc-5.3.3-40.el6_6.x86_64
php-common(x86-64) = 5.3.3-40.el6_6 is needed by php-odbc-5.3.3-40.el6_6.x86_64
php-pdo(x86-64) is needed by php-odbc-5.3.3-40.el6_6.x86_64
[install-options]
--test:测试安装,但不真正执行安装过程:dry run模式
--nodeps:忽略依赖关系
--replacepkgs:重新安装,替换原有安装