Debian 12 bookworm
Sponsored Link

VirtualBox : Install2023/07/20

 

Install Oracle VM VirtualBox to configure Virtualization Environment.

[1] Install required packages.
root@dlp:~#
LINUX_HEADERS=$(uname -r)

root@dlp:~#
apt -y install gcc make linux-headers-$LINUX_HEADERS dkms

[2] Install VirtualBox.
root@dlp:~#
curl -fsSL https://www.virtualbox.org/download/oracle_vbox_2016.asc -o /etc/apt/keyrings/oracle_vbox.key

root@dlp:~#
echo "deb [signed-by=/etc/apt/keyrings/oracle_vbox.key] https://download.virtualbox.org/virtualbox/debian bookworm contrib" | tee /etc/apt/sources.list.d/oracle_vbox.list

root@dlp:~#
apt update

root@dlp:~#
apt search ^virtualbox-

Sorting... Done
Full Text Search... Done
virtualbox-6.1/unknown 6.1.46-158378~Debian~bookworm amd64
  Oracle VM VirtualBox

virtualbox-7.0/unknown 7.0.10-158379~Debian~bookworm amd64
  Oracle VM VirtualBox

root@dlp:~#
apt -y install virtualbox-7.0
root@dlp:~#
VBoxManage -v

7.0.10r158379
[3] Install extension pack to use VRDP (Virtual Remote Desktop Protocol).
# download extension pack for installed version

root@dlp:~#
VER=$(VBoxManage -v | cut -d'r' -f1)

root@dlp:~#
wget http://download.virtualbox.org/virtualbox/$VER/Oracle_VM_VirtualBox_Extension_Pack-$VER.vbox-extpack
root@dlp:~#
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-$VER.vbox-extpack


.....
.....
Do you agree to these license terms and conditions (y/n)? y

License accepted. For batch installation add
--accept-license=33d7284dc4a0ece381196fda3cfe2ed0e1e8e7ed7f27b9a9ebc4ee22e24bd23c
to the VBoxManage command line.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".

root@dlp:~#
VBoxManage list extpacks

Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:        7.0.10
Revision:       158379
Edition:
Description:    Oracle Cloud Infrastructure integration, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe, full VM encryption.
VRDE Module:    VBoxVRDP
Crypto Module:  VBoxPuelCrypto
Usable:         true
Why unusable:
Matched Content