手机版
你好,游客 登录 注册
背景:
阅读新闻

为虚拟机中的 openSUSE 12.1 安装 VBoxGuestAdditions 4.1.10

[日期:2013-01-18] 来源:Linux社区  作者:skyivben [字体: ]

前言

在 VirtualBox 4.1.10 软件中安装 openSUSE 12.1 操作系统后,它已经自带了 VBoxGuestAdditions 4.1.4,如下所示:

ben@vbox:~> zypper search virtualbox-guest
Loading repository data...
Reading installed packages...

S | Name                         | Summary                                    | Type
--+------------------------------+--------------------------------------------+--------
  | virtualbox-guest-kmp-default | Guest kernel modules for VirtualBox        | package
i | virtualbox-guest-kmp-desktop | Guest kernel modules for VirtualBox        | package
  | virtualbox-guest-kmp-pae     | Guest kernel modules for VirtualBox        | package
i | virtualbox-guest-tools       | VirtualBox guest tools                     | package
i | virtualbox-guest-x11         | VirtualBox X11 drivers for mouse and video | package
ben@vbox:~>
ben@vbox:~> zypper search -s virtualbox-guest-kmp-desktop
Loading repository data...
Reading installed packages...

S | Name                         | Type    | Version                | Arch   | Repository
--+------------------------------+---------+------------------------+--------+-----------------------
i | virtualbox-guest-kmp-desktop | package | 4.1.4_k3.1.0_1.1-3.2.3 | x86_64 | 163/Oss
i | virtualbox-guest-kmp-desktop | package | 4.1.4_k3.1.0_1.1-3.2.3 | x86_64 | openSUSE-12.1-Oss
i | virtualbox-guest-kmp-desktop | package | 4.1.4_k3.1.0_1.1-3.2.3 | x86_64 | openSUSE-12.1-12.1-1.4
v | virtualbox-guest-kmp-desktop | package | 4.1.4_k3.1.0_1.1-3.2.3 | i586   | 163/Oss
v | virtualbox-guest-kmp-desktop | package | 4.1.4_k3.1.0_1.1-3.2.3 | i586   | openSUSE-12.1-Oss
ben@vbox:~>
ben@vbox:~> zypper info virtualbox-guest-kmp-desktop
Loading repository data...
Reading installed packages...


Information for package virtualbox-guest-kmp-desktop:

Repository: 163/Oss
Name: virtualbox-guest-kmp-desktop
Version: 4.1.4_k3.1.0_1.1-3.2.3
Arch: x86_64
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 413.0 KiB
Summary: Guest kernel modules for VirtualBox
Description:
VirtualBox is an extremely feature rich, high performance product
for enterprise customers, it is also the only professional solution
that is freely available as Open Source Software under the terms of the
GNU Public License (GPL).

这样的好处是不用在 VirtualBox 中另外安装增强功能了,坏处是这个增强功能的版本太低了,才 4.1.4,而最新版本是 4.1.10。

现在让我们开始安装 VBoxGuestAdditions 4.1.10 吧。

卸载旧版本的 VBoxGuestAdditions

首先,使用 zypper 命令卸载 VBoxGuestAdditions 4.1.4:

ben@vbox:~> sudo zypper remove virtualbox-guest-kmp-desktop virtualbox-guest-tools virtualbox-guest-x11
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following packages are going to be REMOVED:
  virtualbox-guest-kmp-desktop virtualbox-guest-tools virtualbox-guest-x11

3 packages to remove.
After the operation, 6.1 MiB will be freed.
Continue? [y/n/?] (y):
Removing virtualbox-guest-tools-4.1.4-3.2.3 [done]
Additional rpm output:
redirecting to systemctl
Warning: Unit file of created job changed on disk, 'systemctl --system daemon-reload' recommended.
insserv: warning: script 'S01atop' missing LSB tags and overrides
insserv: warning: script 'atop' missing LSB tags and overrides


Removing virtualbox-guest-x11-4.1.4-3.2.3 [done]
Removing virtualbox-guest-kmp-desktop-4.1.4_k3.1.0_1.1-3.2.3 [done]
linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款