redhat 安装virtualbox

1、在官网下载virtual for linux 包,链接地址:https://www.virtualbox.org/wiki/Linux_Downloads。根据需要下载对应镜像。

2、由于下载的包是rpm格式,使用命令:
     rpm -ivh *.rpm *为下载包名称

3、在安装过程中会出现:
  error: Failed dependencies: 
        libcrypto.so.10(libcrypto.so.10)(64bit) is needed by postgresql84-libs-8.4.19-1PGDG.rhel6.x86_64 

        libssl.so.10(libssl.so.10)(64bit) is needed by postgresql84-libs-8.4.19-1PGDG.rhel6.x86_64 

   下面是实践可行的解决办法:

   首先是知道libcrypto.so.10,libssl.so.10没有,然后发现他们是openssl提供,但是由于系统已经安装了,所以只有使用force的办法安装。

  在http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libcrypto.so.10()(64bit)下载openSSL的包,

使用rpm --force -ivh *.rpm *为OpenSSL的包

4、问题解决,再次安装virtualbox 成功。

 

posted @ 2014-10-11 15:23  smile_tina  阅读(1299)  评论(0编辑  收藏  举报