{"id":5419,"date":"2025-09-06T13:06:24","date_gmt":"2025-09-06T10:06:24","guid":{"rendered":"https:\/\/computingforgeeks.com\/?p=5419"},"modified":"2025-09-06T13:06:27","modified_gmt":"2025-09-06T10:06:27","slug":"install-virtualbox-on-ubuntu-linux","status":"publish","type":"post","link":"https:\/\/computingforgeeks.com\/install-virtualbox-on-ubuntu-linux\/","title":{"rendered":"How To Install VirtualBox 7.0 on Ubuntu 24.04|22.04|20.04"},"content":{"rendered":"\n<p>In this tutorial we are performing the installation of VirtualBox 7.0 on Ubuntu 24.04|22.04|20.04?. VirtualBox 7.0 has been released with plenty of new features waiting for you to explore.&nbsp; VirtualBox is a powerful, feature-rich, high-performance and open source x86 and AMD64\/Intel64 virtualization solution for both home users and enterprise.<\/p>\n\n\n\n<p><strong><em>The following major features added to VirtualBox 7.0:<\/em><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-family: Verdana, BlinkMacSystemFont, -apple-system, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; color: initial;\">Added a new GUI utility which lists performance statistics (CPU usage, RAM usage, disk I\/O rate, etc.) of running guests<\/span><\/li>\n\n\n\n<li>Virtual machines can be fully encrypted now, including the VM config logs and saved states (CLI only for now)<\/li>\n\n\n\n<li>Improved GUI theme support on all platforms &#8211; Linux and macOS use native engine while for Windows host it is separately implemented.<\/li>\n\n\n\n<li>Implemented ability to wait for and\/or reboot the guest when updating Guest Additions via VBoxManage<\/li>\n\n\n\n<li>Implemented initial support for automatic updating of Guest Additions for Linux guests<\/li>\n\n\n\n<li><em style=\"font-family: Verdana, BlinkMacSystemFont, -apple-system, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; color: initial;\"><strong>Linux Guest Additions<\/strong><\/em><span style=\"font-family: Verdana, BlinkMacSystemFont, -apple-system, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; color: initial;\">: Reworked guest screen re-size functionality, added basic integration with some of guest Desktop Environments<\/span><\/li>\n\n\n\n<li>Added virtual TPM 1.2 and 2.0 devices<\/li>\n\n\n\n<li>Implemented new 3D support based on DirectX 11 (and DXVK on non Windows hosts)<\/li>\n\n\n\n<li><span style=\"font-family: Verdana, BlinkMacSystemFont, -apple-system, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; color: initial;\">Added EFI support for Secure Boot<\/span><\/li>\n\n\n\n<li>Added experimental support for guest debugging through GDB and highly experimental support for guest debugging through KD\/WinDbg<\/li>\n\n\n\n<li>The EHCI and XHCI USB controller devices are now part of the open source base package<\/li>\n\n\n\n<li>Cloud networks can now be configured via Network Manager tool same way as it is done for Host-only and NAT networks<\/li>\n\n\n\n<li><span style=\"font-family: Verdana, BlinkMacSystemFont, -apple-system, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; color: initial;\">Cloud virtual machines can be added to Virtual Machine Manager and controlled as local VMs<\/span><\/li>\n<\/ul>\n\n\n<p>[ebook product=&#8221;2&#8243; theme=&#8221;dark&#8221;]<\/p>\n\n\n\n<p>Check out the complete list of VirtualBox new features on <a href=\"https:\/\/www.virtualbox.org\/wiki\/Changelog\" target=\"_blank\" rel=\"noreferrer noopener\">Changelog for VirtualBox<\/a>. Without further ado, let&#8217;s dive into the installation of&nbsp;VirtualBox 7.0 on Ubuntu Linux system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install VirtualBox 7.0 on Ubuntu<\/h2>\n\n\n\n<p>Follow the steps outlined in this article to install, configure and use VirtualBox 7.0 on Ubuntu.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1) Update your system<\/h3>\n\n\n\n<p>We always recommend you run latest stable versions of your installed packages. if you don&#8217;t want to upgrade any package, just update APT package index and skip the upgrade.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt -y upgrade\n&#91; -f \/var\/run\/reboot-required ] &amp;&amp; sudo reboot -f<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2) Import VirtualBox GPG Keys<\/h3>\n\n\n\n<p>Add repository key:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">#Download\n<\/mark><\/em>curl https:\/\/www.virtualbox.org\/download\/oracle_vbox_2016.asc | gpg --dearmor &gt; oracle_vbox_2016.gpg\ncurl https:\/\/www.virtualbox.org\/download\/oracle_vbox.asc | gpg --dearmor &gt; oracle_vbox.gpg\n\n<em><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">#Install on system\n<\/mark><\/em>sudo install -o root -g root -m 644 oracle_vbox_2016.gpg \/etc\/apt\/trusted.gpg.d\/\nsudo install -o root -g root -m 644 oracle_vbox.gpg \/etc\/apt\/trusted.gpg.d\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">3) Add VirtualBox 7.0 Repository<\/h3>\n\n\n\n<p>Once the system is updated and Repository key imported, you can add&nbsp;VirtualBox Repository to it by running the commands below:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;arch=amd64] http:\/\/download.virtualbox.org\/virtualbox\/debian $(lsb_release -sc) contrib\" | sudo tee \/etc\/apt\/sources.list.d\/virtualbox.list<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">4) Install VirtualBox 7.0 and Extension pack<\/h3>\n\n\n\n<p>Finally, install&nbsp;VirtualBox on your Ubuntu system by running the commands:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\nsudo apt install linux-headers-$(uname -r) dkms\nsudo apt install virtualbox-7.0<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Install VirtualBox Extension Pack<\/h4>\n\n\n\n<p>Download VirtualBox Extension Pack. You can download the debian package build manually&nbsp; <a href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.virtualbox.org\/wiki\/Downloads<\/a><\/p>\n\n\n\n<p>Or with wget command line downloader<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ~\/\nVER=$(curl -s https:\/\/download.virtualbox.org\/virtualbox\/LATEST.TXT)\nwget https:\/\/download.virtualbox.org\/virtualbox\/$VER\/Oracle_VM_VirtualBox_Extension_Pack-$VER.vbox-extpack<\/code><\/pre>\n\n\n\n<p>Once the file is downloaded, install the extension pack using CLI:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-*.vbox-extpack<\/code><\/pre>\n\n\n\n<p>Or by <strong>clicking<\/strong> on the Downloaded file.Click install and wait for the installation to complete.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-04.png\"><img loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"262\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-04.png\" alt=\"\" class=\"wp-image-5422\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-04.png 678w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-04-300x116.png 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">5) Launch VirtualBox 7.0 on Ubuntu<\/h3>\n\n\n\n<p>Once&nbsp;VirtualBox is installed, you can launch it using the&nbsp;terminal or Desktop applications search.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"636\" height=\"204\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9.png\" alt=\"\" class=\"wp-image-5423\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9.png 636w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-300x96.png 300w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/a><\/figure>\n\n\n\n<p>From terminal, use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>virtualbox<\/code><\/pre>\n\n\n\n<p>The new user interface for VirtualBox interface looks like below:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized td-caption-align-https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui.png\"><a href=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"497\" src=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui-1024x497.png\" alt=\"\" class=\"wp-image-5425\" style=\"width:768px;height:373px\" title=\"\" srcset=\"https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui-1024x497.png 1024w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui-300x146.png 300w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui-768x373.png 768w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui-696x338.png 696w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui-1068x518.png 1068w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui-865x420.png 865w, https:\/\/computingforgeeks.com\/wp-content\/uploads\/2018\/12\/install-virtualbox-6.0-ubuntu-18.04-16.04-debian-9-new-ui.png 1296w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You should now have the latest version of VirtualBox installed on your Ubuntu Linux system.<\/p>\n\n\n\n<p>Ready to start using VirtualBox?, check our guides below;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/computingforgeeks.com\/top-three-best-torrent-clients-for-kali-linux-ubuntu-debian-centos-and-fedora\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Install Minikube on Ubuntu<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/computingforgeeks.com\/install-fedora-physical-server-virtualbox-vagrant\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to install Fedora on VirtualBox &amp; Vagrant<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial we are performing the installation of VirtualBox 7.0 on Ubuntu 24.04|22.04|20.04?. VirtualBox 7.0 has been released with plenty of new features waiting for you to explore.&nbsp; VirtualBox is a powerful, feature-rich, high-performance and open source x86 and AMD64\/Intel64 virtualization solution for both home users and enterprise. The following major features added to &#8230; <a title=\"How To Install VirtualBox 7.0 on Ubuntu 24.04|22.04|20.04\" class=\"read-more\" href=\"https:\/\/computingforgeeks.com\/install-virtualbox-on-ubuntu-linux\/\" aria-label=\"Read more about How To Install VirtualBox 7.0 on Ubuntu 24.04|22.04|20.04\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":5424,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[299,50,81,86],"tags":[290],"class_list":["post-5419","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-linux-tutorials","category-ubuntu","category-virtualization","tag-virtualbox"],"_links":{"self":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/5419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/comments?post=5419"}],"version-history":[{"count":3,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/5419\/revisions"}],"predecessor-version":[{"id":160558,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/posts\/5419\/revisions\/160558"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media\/5424"}],"wp:attachment":[{"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/media?parent=5419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/categories?post=5419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/computingforgeeks.com\/wp-json\/wp\/v2\/tags?post=5419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}