最終更新:2024-11-15 (金) 14:09:45 (156d)
VirtualBox/Guest Additions
Top / VirtualBox / Guest Additions
http://www.virtualbox.org/manual/ch04.html
The following Linux distributions are officially supported:
- Oracle Linux as of version 5 including UEK? kernels;
- Fedora as of Fedora Core 4?;
- Red Hat Enterprise Linux as of version 3;
- SUSE Linux and openSUSE as of version 9;
- Ubuntu as of version 5.10.
インストール
- インストール前にDKMSを有効にする必要がある
- Linux installers: no longer rely on DKMS for module rebuilding (VirtualBox 5.1)
Fedora
CentOS/RHEL/Oracle Linux
http://wiki.centos.org/HowTos/Virtualization/VirtualBox/CentOSguest
- GCC、kernel-develをインストール
yum update yum install gcc kernel-devel sh ./VBoxLinuxAdditions.run
RHEL 9
- dnf install epel-release -y
- dnf install dkms kernel-devel kernel-headers gcc make bzip2 perl elfutils-libelf-devel
CentOS 8
sudo yum install kernel-devel-$(uname -r) gcc make perl elfutils-libelf-devel
CentOS 6.4
CentOS 6
- CentOS 6.3のLiveCDからのインストールだとmakeも必要だった
http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/
Ubuntu
tokkyo/設定/Ubuntu 24.04
tokkyo/設定/Ubuntu 22.04
tokkyo/設定/Ubuntu 20.04
Ubuntu 16.04.3
それ以前
- DKMS(dkms)をインストールしてからインストール (最近のでは不要)
apt-get update apt-get upgrade apt-get install dkms sh ./VBoxLinuxAdditions.run
パッケージもある (お手軽だけどちょっと古い)
Ubuntu 14.04.2
- virtualbox-guest-x11が入らない (UbuntuのリポジトリのVirtualBox 4.3.10が古くて新しいHWEのX.Org Server 1.16に対応していない)
http://askubuntu.com/questions/588943/experiencing-small-resolution-issue-in-ubuntu-14-04-2-with-virtualbox-getting-s
- 最新のVirtualBox付属のGuest Additionsを入れること。
Debian
- make、GCC、kernel-devel、linux-headersをインストール
apt-get update apt-get upgrade apt-get install make gcc linux-headers sh ./VBoxLinuxAdditions.run
Debian 9
apt-get install linux-headers-amd64 gcc make perl sh ./VBoxLinuxAdditions.run