{{header}}
Download and install VirtualBox for your operating system.
{{Tab
|type=controller
|content=
{{Tab|
|title= === Windows ===
|image=[[File:Logo-windows-500x500.png|alt=Logo Windows|50px]]
|active=true
|content=
{{#widget:Download_Button
|text=Download VirtualBox for Windows (FREE!)
|os=windows
|fontsize=18px
|url=https://download.virtualbox.org/virtualbox/7.1.4/VirtualBox-7.1.4-165100-Win.exe
}}
Microsoft Visual C++ 2019 Redistributable Package
If you see the following error message:
'''Figure:''' ''Microsoft Visual C++ 2019 Redistributable Package Error''
[[File:VirtualBox_Microsoft_Visual_C_2019_Redistributable_Package.png|Microsoft Visual C++ 2019 Redistributable Package Error]]
{{quotation
|quote=
Oracle VM VirtualBox needs Microsoft Visual C++ 2019 Redistributable package installed first. Please install and restart the installation of Oracle VM VirtualBox.
}}
Microsoft Visual C++ 2019 Redistributable Package must be installed. [
This link has been found on the ]microsoft.com
website: [https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 Microsoft Visual C++ Redistributable latest supported downloads]
{{#widget:Download_Button
|text=Microsoft Visual C++ 2019 Redistributable Package (FREE!)
|os=windows
|fontsize=18px
|url=https://aka.ms/vs/17/release/vc_redist.x64.exe
}}
Optional: Digital signature verification.
'''VirtualBox for Windows is not signed with OpenPGP / gpg. It is signed with authenticode.'''
After downloading the VirtualBox installer exe and starting it, the user should verify that sure that Verified publisher:
is Oracle Corporation
.
'''Figure:''' ''Windows signature signature verification window for VirtualBox''
[[File:Virtualbox_windows_digital_software_verification.png|400px|border]]
Advanced users might wish to learn more about {{kicksecure_wiki
|wikipage=Authenticode
|text=Authenticode (Windows Digital Software Signatures)
}} to perform a deeper verification.
}}
{{Tab
|title= === macOS ===
|image=[[File:Logo-apple-500x500.png|alt=Logo Apple|50px]]
|content=
{{#widget:Download_Button
|text=Download VirtualBox for macOS (FREE!)
|os=osx
|fontsize=18px
|url=https://download.virtualbox.org/virtualbox/7.1.4/VirtualBox-7.1.4-165100-OSX.dmg
}}
Optional: Digital signature verification.
'''VirtualBox for macOS is not signed with OpenPGP / gpg. It is notarized for macOS's gatekeeper.'''
See also Apple's official documentation [https://support.apple.com/en-us/HT202491 Safely open apps on your Mac].
}}
{{Tab
|title= === Ubuntu ===
|image=[[File:Logo-ubuntusvg.png|alt=Logo Ubuntu|50px]]
|content=
'''For Ubuntu host operating systems''' {{VirtualBox_Host_Software_Installation_Option
|who=Ubuntu users
}}
{{mbox
|addToClass=cs-gray-light
|text=
''Tested on October 2022 using Ubuntu version 22.04
. Older versions are not recommended.''
{{Tab
|type=controller
|content=
{{Tab|
|title= ==== Command Line (All Users) ====
|image=[[File:Utilities-terminal.png|50px]]
|active=true
|content=
{{IconSet|h3|1}} '''On the host : Open a terminal.'''
{{IconSet|h3|2}} '''Update the package lists.'''
{{CodeSelect|code=
sudo apt update
}}
{{IconSet|h3|3}} '''Install VirtualBox and Linux kernel headers.'''
{{CodeSelect|code=
sudo apt install --no-install-recommends {{{virtualbox_package_debian}}} linux-headers-generic
}}
{{IconSet|h3|4}} '''Add your current user to group vboxusers
. '''
{{CodeSelect|code=
sudo adduser $(whoami) vboxusers
}}
{{IconSet|h3|5}} '''Done.'''
The procedure of installing the VirtualBox host software is complete.
}}
{{Tab
|title= ==== Software Center (only if not using SecureBoot) ====
|image=[[File:Ubuntu_software_icon.png|alt=Logo Ubuntu Software Center|50px]]
|content=
{{VirtualBox Host Software Installation Ubuntu Software Center}}
}}
}}
}}
}}
{{Tab
|title= === Debian ===
|image=[[File:Logo-debian-500x500.png|alt=Logo Debian|50px]]
|content=
{{VirtualBox_Host_Software_Installation_Debian
|virtualbox_version={{{VirtualBox_Version}}}
|virtualbox_package_debian={{{virtualbox_package_debian}}}
}}
}}
{{Tab
|title= === Kicksecure ===
|image=[[File:Kicksecure-basic-logo.png|alt=Logo Kicksecure|50px]]
|content=
{{Box|text=
'''{{Kicksecure}} host operating systems''' {{VirtualBox_Host_Software_Installation_Option
|who={{Kicksecure}} users
}}
{{mbox
|addToClass=cs-gray-light
|text=
Instructions for {{Kicksecure}} are simpler than instructions for Debian. [
This is because by {{Kicksecure}} default:
* The Debian ]fasttrack
repository is already enabled.
* The Debian backports
repository is already enabled.
* Kernel headers package "linux-headers-$(dpkg --print-architecture)
is already installed.
** Debian feature request: [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022746 please provide linux-image-generic / linux-headers-generic]
{{IconSet|h3|1}} '''On the host: Open a terminal.'''
{{IconSet|h3|2}} '''Update package lists.'''
{{CodeSelect|code=
sudo apt update
}}
{{IconSet|h3|3}} '''Install VirtualBox and Linux kernel headers.'''
{{CodeSelect|code=
sudo apt install --no-install-recommends {{{virtualbox_package_debian}}}
}}
{{IconSet|h3|4}} '''Add your current user to group vboxusers
.'''
{{CodeSelect|code=
sudo adduser $(whoami) vboxusers
}}
{{IconSet|h3|5}} '''Done.'''
The procedure of installing the VirtualBox host software is complete.
}}
}}
}}
{{Tab
|title= === Linux ===
|image=[[File:Logo-linux-500x500.png|alt=Logo Linux|50px]]
|content=
{{Box|text=
'''Hosts using a non-Debian operating system:'''
* '''Install VirtualBox as per the normal mechanism for your Linux distribution'''. No special instructions for {{project_name_short}} are required. The installation of a recent VirtualBox host software is [[Unspecific|unspecific to {{project_name_short}}]]. Consult the documentation of your Linux distribution.
* {{project_name_short}} has has been tested with, expects VirtualBox version {{{virtualbox_version}}}
.
* For example the outdated VirtualBox version 5.2.18
is incompatible.
}}
{{mbox
| image = [[File:Ambox_notice.png|25px|alt=info]]
| text =
'''General recommendations for users using Linux as a host operating system:'''
'''Linux kernel version:'''
* The recommended host Linux kernel version is the same version that Debian {{Stable project version based on Debian codename}}
is using, see [https://packages.debian.org/{{Stable project version based on Debian codename}}/linux-image-amd64 linux-image-amd64
].
* Newer host Linux kernel versions are likely to break VirtualBox VMs [[Kernel#Kernel_Issues|in many ways]] since these are unsupported by VirtualBox. [
https://www.virtualbox.org/ticket/17055#comment:3
]
'''Host operating system.''' The recommended host Linux distributions are:
* preferably the stable version of {{Kicksecure}} {{VersionShort}}
, or
* [https://www.debian.org/ Debian Linux] version {{Stable project version based on Debian codename}}
.
}}
}}
}}
= Footnotes =
{{Footer}}
[[Category:MultiWiki]]