Skip to main content

VirtualBox Software Repository Mirror Usage Guide

Oracle Virtualbox VirtualBox is an open-source virtualization software. Developed by German company Innotek and produced by Sun Microsystems. Written in Qt, it was officially renamed to Oracle VM VirtualBox after Sun was acquired by Oracle. It is open-source under the GPL license.

Universal Installation Packages

Universal installation packages support:

  • Windows
  • macOS
  • Linux
  • SunOS

Click this link, select the required version and operating system to download the latest version of VirtualBox.

For Linux Users

If your system is a supported Linux distribution, it is recommended to use the package manager for installation. Refer to Supported Linux Distributions.

If not, after downloading the universal run file (e.g., VirtualBox-5.0.24-108355-Linux_x86.run), use chmod +x to grant execution permissions and install directly.

Supported Linux Distributions

Currently supported systems include:

  • Ubuntu
  • Debian
  • Fedora
  • openSUSE
  • SUSE Linux Enterprise Server
  • Oracle Linux / Red Hat Enterprise Linux / CentOS

If your distribution is not listed above, please refer to Universal Installation Packages for installation.

Installation via Pre-compiled Binary Packages

Click this link, select the version (e.g., 5.0.24), find the file named distribution_namerelease_codenamearchitecture. For example, virtualbox-5.0_5.0.24-108355~Ubuntu~xenial_i386.deb to download and install.

Installation via Package Manager

Debian / Ubuntu Users

First, trust VirtualBox's GPG public key:

  • For Debian 8 and Ubuntu 16.04 and above:
Is root user?
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
  • For other versions:
Is root user?
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

Then select your Debian/Ubuntu version and write the content from the text box into /etc/apt/sources.list.d/virtualbox.list

Distribution
Debian 11 (bullseye)
/etc/apt/sources.list.d/virtualbox.list
deb https://mirrors.hust.edu.cn/virtualbox/debian/ bullseye contrib

Install VirtualBox:

Is root user?
sudo apt-get update
sudo apt-get install virtualbox
# Available versions will be listed; select the desired version to install

RHEL/CentOS Users

Create /etc/yum.repos.d/virtualbox.repo with the following content:

/etc/yum.repos.d/virtualbox.repo
[virtualbox]
name=Virtualbox Repository
baseurl=https://mirrors.hust.edu.cn/virtualbox/rpm/el$releasever/
gpgcheck=0
enabled=1

Refresh the cache and install virtualbox:

Is root user?
sudo yum makecache
sudo yum search VirtualBox
# Available versions will be listed; select the desired version to install
Choose your prefered domain
mirrors.hust.edu.cn
This domain is Dual Stack
Enable HTTPS