在新的SLES 11机器上安装Virtual Box-Python [英] Installing Virtual box on a fresh SLES 11 machine - python

查看:291
本文介绍了在新的SLES 11机器上安装Virtual Box-Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在新的SLES 11计算机上安装虚拟盒?

How can I install virtual box on a fresh SLES 11 machine?

我从以下位置下载了rpm:

I've downloaded the rpm from:

wget http://download.virtualbox.org/virtualbox/4.3.6/VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586.rpm

当我尝试yast2 -irpm -ivh时,出现以下错误:

And when i tried yast2 -i or rpm -ivh, I get these error:

 Package VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586.rpm could not be installed.

 Details:
 Subprocess failed. Error: RPM failed: error: Failed dependencies:
         libasound.so.2 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586
         libGL.so.1 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586    
         libICE.so.6 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586   
         libSDL-1.2.so.0 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i58
         libSM.so.6 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586    
         libX11.so.6 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586   
         libXcursor.so.1 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i58
         libXext.so.6 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586  
         libXinerama.so.1 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i5
         libXmu.so.6 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586   
         libXrender.so.1 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i58
         libXt.so.6 is needed by VirtualBox-4.3-4.3.6_91406_sles11.0-1.i586 

我尝试过:

# zypper install libasound libGL libSDL

但它没有安装...

Retrieving repository 'SLES-11-SDK-SP3-Updates' metadata [done]
Building repository 'SLES-11-SDK-SP3-Updates' cache [done]
Retrieving repository 'SLES-11-SP3-Updates' metadata [done]
Building repository 'SLES-11-SP3-Updates' cache [done]
Loading repository data...
Reading installed packages...
'libGL' not found in package names. Trying capabilities.
No provider of 'libGL' found.
'libSDL' not found in package names. Trying capabilities.
No provider of 'libSDL' found.
'libasound' not found in package names. Trying capabilities.
No provider of 'libasound' found.
Resolving package dependencies...

当前,这些是添加的存储库:

Currently, these are the repos added:

# zypper repos
# | Alias                   | Name                                           | Enabled | Refresh
--+-------------------------+------------------------------------------------+---------+--------
1 | SLES-11-RZG-SP3         | SLES-11-RZG-SP3                                | Yes     | Yes    
2 | SLES-11-SDK-SP3-Updates | SLES-11-SDK-SP3-Updates                        | Yes     | Yes    
3 | SLES-11-SP3             | SLES-11-SP3                                    | Yes     | Yes    
4 | SLES-11-SP3-Updates     | SLES-11-SP3-Updates                            | Yes     | Yes    
5 | devel_tools_scm         | Software configuration management (SLE_11_SP2) | Yes     | No  

来自uname -a:

Linux ws4-clarind 3.0.101-0.8-default #1 SMP Fri Nov 1 12:51:09 UTC 2013 (2417eb9) x86_64 x86_64 x86_64 GNU/Linux

推荐答案

我在安装VirtualBox时确实遇到了一些问题.最终,我找到了一个解决方案,并撰写了一篇有关该问题的博客文章.希望能对您有所帮助:

I did have some issues with installing VirtualBox. Finally I got a solution and wrote a blog post about it. Hope that helps:

uname -a
Linux dq1bc01b08 3.0.76-0.11-default #1 SMP Fri Jun 14 08:21:43 UTC 2013 (ccab990) x86_64 x86_64         x86_64 GNU/Linux

zypper in kernel-default-devel-3.0.76-0.11.1.x86_64
zypper in autoconf bison flex gcc gcc-c++ make m4

cp -f /boot/config-$(uname -r) /usr/src/linux/.config
cd /usr/src/linux
make prepare
make modules_prepare

http://download.virtualbox.org/virtualbox/4.3.8/VirtualBox-4.3-4.3.8_92456_sles11.0-1.x86_64.rpm
zypper install VirtualBox-4.3-4.3.8_92456_sles11.0-1.x86_64.rpm

更详细的信息: http ://ehaselwanter.com/en/blog/2014/03/22/install-virtualbox-on-sles-11-sp3/

这篇关于在新的SLES 11机器上安装Virtual Box-Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆