{"id":1795,"date":"2021-12-30T18:49:31","date_gmt":"2021-12-30T15:49:31","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/12\/30\/how-to-install-oracle-virtualbox-on-linux\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/12\/30\/how-to-install-oracle-virtualbox-on-linux\/"},"modified":"2021-12-30T18:49:31","modified_gmt":"2021-12-30T15:49:31","slug":"how-to-install-oracle-virtualbox-on-linux","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1795-how-to-install-oracle-virtualbox-on-linux\/","title":{"rendered":"How to install Oracle VirtualBox on Linux"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Oracle\u2019s VirtualBox tool is excellent for emulating other operating systems. If you\u2019re using Linux and you need to run something like Microsoft Windows, Android x86, BSD, and others, you\u2019ll want to install this program on your computer. Here\u2019s how to do it.<\/p>\n<h2>Ubuntu installation instructions<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-205787 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-oracle-virtualbox-on-linux.png\" alt=\"\" width=\"1200\" height=\"666\"\/><\/p>\n<p>On Ubuntu, the Oracle VM VirtualBox app is available in the official software repositories. Start by opening up a terminal window on the Ubuntu desktop to get it working on your computer.<\/p>\n<p>Not sure how to launch a terminal window on the Ubuntu desktop? Press <strong>Ctrl + Alt + T<\/strong> on the keyboard. Or, search for \u201cTerminal\u201d in the app menu and launch it that way. Once it is open, use the <strong>apt install<\/strong> command to set up the latest \u201cvirtualbox\u201d package.<\/p>\n<p>Note: in addition to the \u201cvirtualbox\u201d package, you will also need to set up the latest Linux kernel headers. These headers are required for VirtualBox to work correctly on Ubuntu.<\/p>\n<pre>\nsudo apt install virtualbox linux-headers-$(uname -r)\n<\/pre>\n<p>After entering the command above, Ubuntu will ask you for your password. Using the keyboard, enter the password for your username. Then, press the <strong>Y<\/strong> key to confirm you wish to install VirtualBox.<\/p>\n<h2>Debian installation instructions<\/h2>\n<p>VirtualBox is available for Debian Linux users. However, it may be a bit out of date. To get it working on your Debian system, open up a terminal window on the desktop by pressing <strong>Ctrl + Alt + T<\/strong> on the keyboard. Or, search for \u201cTerminal\u201d in the app menu and launch it that way.<\/p>\n<p>With the terminal window open and ready to use, run the <strong>apt-get install<\/strong> command to install both the \u201cvirtualbox\u201d package and the latest Linux kernel headers (if you don\u2019t already have the headers set up on Debian.)<\/p>\n<pre>\nsudo apt-get install virtualbox linux-headers-$(uname -r)\n<\/pre>\n<p>After entering the command above, Debian will ask for your password. Using your keyboard, enter the password for your user account. Then, press the <strong>Enter<\/strong> key to submit the password. Finally, press <strong>Y<\/strong> to confirm that you wish to install VirtualBox.<\/p>\n<h2>Arch Linux installation instructions<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-368181 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-oracle-virtualbox-on-linux-1.png\" alt=\"\" width=\"1920\" height=\"974\"\/><\/p>\n<p>Arch Linux always has the latest version of VirtualBox right in the official software repositories. To get it working on your Arch Linux system, start by opening up a terminal window on the desktop.<\/p>\n<p>With the terminal window open on the Linux desktop, use the <strong>pacman<\/strong> command to install the \u201cvirtualbox\u201d package. To ensure the VirtualBox modules compile correctly, you will also need to install the \u201clinux-headers\u201d package on Arch Linux.<\/p>\n<pre>\nsudo pacman -S virtualbox linux-headers\n<\/pre>\n<p>Once the command above is entered, Arch Linux will ask you for your password. Using your keyboard, enter the password for your username. Then, press the <strong>Enter<\/strong> key to confirm you wish to install the packages.<\/p>\n<h2>Fedora installation instructions<\/h2>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-205781 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-oracle-virtualbox-on-linux-2.png\" alt=\"\" width=\"1200\" height=\"666\"\/><\/p>\n<p>Oracle VM VirtualBox does not come in the official Fedora Linux software repositories. However, it is possible to get the app working after enabling the RPM Fusion software repositories. Here\u2019s how to enable them.<\/p>\n<p>First, open up a terminal window on the Fedora desktop. You can open up a terminal window by pressing <strong>Ctrl + Alt + T<\/strong> on the keyboard. Or by searching for \u201cTerminal\u201d in the app menu. Once it is open, use the commands below to enable RPM Fusion.<\/p>\n<pre>\nsudo dnf install \\\nhttps:\/\/download1.rpmfusion.org\/free\/fedora\/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm\nsudo dnf install \\\nhttps:\/\/download1.rpmfusion.org\/nonfree\/fedora\/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm\n<\/pre>\n<p>After installing both software repositories on Fedora, you\u2019ll be able to install VirtualBox by using the following <strong>dnf install<\/strong> command down below.<\/p>\n<pre>\nsudo dnf install VirtualBox kernel-devel kernel-headers\n<\/pre>\n<h2>OpenSUSE installation instructions<\/h2>\n<p>All current versions of OpenSUSE Linux have VirtualBox available for installation. However, to get the app working on your OpenSUSE Linux system, you\u2019ll need a terminal. You can open up a terminal window by pressing <strong>Ctrl + Alt + T<\/strong> on the keyboard. Or, search for \u201cTerminal\u201d in the app menu and launch it that way.<\/p>\n<p>With the terminal window open and ready to use, run the <strong>zypper install<\/strong> command and install the \u201cvirtualbox\u201d package on your computer.<\/p>\n<pre>\nsudo zypper install virtualbox\n<\/pre>\n<p>Once you run the command above, OpenSUSE will ask you for your password. Using the keyboard, enter your user account\u2019s password. With your password entered, press the <strong>Y<\/strong> button to confirm that you would like to install VirtualBox on your OpenSUSE computer.<\/p>\n<h2>Generic Linux installation instructions<\/h2>\n<p>If you use a Linux operating system that doesn\u2019t have native VirtualBox packages, here\u2019s how you can install it. First, launch a terminal window. Then, once the terminal window is open, use the <strong>wget<\/strong> download command to grab the latest VirtualBox package.<\/p>\n<pre>\nwget https:\/\/download.virtualbox.org\/virtualbox\/6.1.30\/VirtualBox-6.1.30-148432-Linux_amd64.run\n<\/pre>\n<p>After downloading the package, update the file\u2019s permissions using the <strong>chmod<\/strong> command.<\/p>\n<pre>\nchmod +x VirtualBox-6.1.30-148432-Linux_amd64.run\n<\/pre>\n<p>To install VirtualBox, run the command below.<\/p>\n<pre>\nsudo .\/VirtualBox-6.1.30-148432-Linux_amd64.run\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Oracle\u2019s VirtualBox tool is excellent for emulating other operating systems. If you\u2019re using Linux and you need to run something like Microsoft Windows, Android x86, BSD, and others, you\u2019ll want to install this program on your computer. Here\u2019s how to do it. Ubuntu installation instructions On Ubuntu, the Oracle VM VirtualBox app is &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1796,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1795"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1795"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1795\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1796"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}