{"id":6671,"date":"2018-12-28T22:28:52","date_gmt":"2018-12-28T22:28:52","guid":{"rendered":"https:\/\/www.appservgrid.com\/paw92\/?p=6671"},"modified":"2018-12-28T23:14:56","modified_gmt":"2018-12-28T23:14:56","slug":"install-virtualbox-6-0-on-ubuntu-18-04-linux-hint","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/12\/28\/install-virtualbox-6-0-on-ubuntu-18-04-linux-hint\/","title":{"rendered":"Install VirtualBox 6.0 on Ubuntu 18.04 \u2013 Linux Hint"},"content":{"rendered":"<p>VirtualBox is a free virtualization solution from Oracle. VirtualBox can virtualize Windows XP, Windows Vista, Windows 7, Windows 10, Ubuntu, Debian, CentOS and many other versions of Linux, Solaris, some BSD variants etc. Recently, VirtualBox 6.0, a major update of VirtualBox came out. In this article, I will show you how to install VirtualBox 6.0 on Ubuntu 18.04 LTS. This article mainly focuses on Ubuntu 18.04 LTS, but this article will also work for Ubuntu 16.04 LTS and later. So, let\u2019s get started.<\/p>\n<h3>Enable Hardware Virtualization:<\/h3>\n<p>Before you install VirtualBox 6.0, make sure hardware virtualization is enabled. If you\u2019re using an Intel processor, then you have to enable VT-x or VT-d from the BIOS of your computer. If you\u2019re using a AMD processor, then you have to enable AMD-v from the BIOS of your computer. This is very important. Without hardware virtualization enabled, your virtual machines will perform very badly.<\/p>\n<h3>Adding VirtualBox Package Repository:<\/h3>\n<p>VirtualBox 6.0 is not available in the official package repository of Ubuntu 18.04 LTS. But we can easily add the package repository of VirtualBox on Ubuntu 18.04 LTS and install VirtualBox 6.0 from there. To add the official package repository of VirtualBox, run the following command:<\/p>\n<p>$ echo &#8220;deb https:\/\/download.virtualbox.org\/virtualbox\/debian $(lsb_release -cs) contrib&#8221; | sudo tee \/etc\/apt\/sources.list.d\/virtualbox.list<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/1-44.png\" alt=\"\" width=\"1140\" height=\"76\" \/><\/p>\n<p>Now, type in your login password and press &lt;Enter&gt;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/2-40.png\" alt=\"\" width=\"1128\" height=\"146\" \/><\/p>\n<p>The official package repository of VirtualBox should be added.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/3-39.png\" alt=\"\" width=\"1140\" height=\"204\" \/><\/p>\n<h3>Adding VirtualBox Public PGP Key:<\/h3>\n<p>Now, you have to add the public PGP key of VirtualBox official package repository to APT. Otherwise, you won\u2019t be able to use the VirtualBox official package repository. To add the public PGP key of the official package repository of VirtualBox, run the following command:<\/p>\n<p>$ wget -q https:\/\/www.virtualbox.org\/download\/oracle_vbox_2016.asc -O- | sudo apt-key add &#8211;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/4-38.png\" alt=\"\" width=\"1140\" height=\"95\" \/><\/p>\n<p>The public PGP Key should be added.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/5-40.png\" alt=\"\" width=\"1140\" height=\"133\" \/><\/p>\n<h3>Installing VirtualBox 6.0:<\/h3>\n<p>Now that the official VirtualBox package repository is ready to use, we can install VirtualBox 6.0. First, update the APT package repository cache with the following command:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/6-36.png\" alt=\"\" width=\"1140\" height=\"91\" \/><\/p>\n<p>The APT package repository should be updated.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/7-37.png\" alt=\"\" width=\"1140\" height=\"280\" \/><\/p>\n<p>Now, install VirtualBox 6.0 with the following command:<\/p>\n<p>$ sudo apt install virtualbox-6.0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/8-33.png\" alt=\"\" width=\"1140\" height=\"90\" \/><\/p>\n<p>Now, press y and then press &lt;Enter&gt; to continue.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/9-30.png\" alt=\"\" width=\"1272\" height=\"311\" \/><\/p>\n<p>The required packages are being downloaded.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/10-30.png\" alt=\"\" width=\"1140\" height=\"283\" \/><\/p>\n<p>VirtualBox 6.0 should be installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/11-29.png\" alt=\"\" width=\"1140\" height=\"278\" \/><\/p>\n<h3>Running VirtualBox 6.0:<\/h3>\n<p>Now, you should be able to run VirtualBox 6.0 from the Application Menu as you can see in the screenshot below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/12-28.png\" alt=\"\" width=\"1140\" height=\"383\" \/><\/p>\n<p>VirtualBox 6.0 dashboard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/13-27.png\" alt=\"\" width=\"984\" height=\"517\" \/><\/p>\n<p>As you can see, I am currently running VirtualBox 6.0.0. Note the VirtualBox version because you will need it when you will install VirtualBox Extension Pack.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/14-26.png\" alt=\"\" width=\"1031\" height=\"581\" \/><\/p>\n<h3>Installing VirtualBox Extension Pack:<\/h3>\n<p>VirtualBox Extension Pack enables support for USB 2.0 and USB 3.0 devices, RDP, disk encryption, NVMe and PXE boot for intel cards and many more. It is a must have tool for any VirtualBox user.<\/p>\n<p>You have to download VirtualBox extension pack from the official website of VirtualBox and install it yourself in order to use these extra features in VirtualBox. First, to visit the official FTP directory of VirtualBox at <a href=\"https:\/\/download.virtualbox.org\/virtualbox\/6.0.0\">https:\/\/download.virtualbox.org\/virtualbox\/6.0.0<\/a><\/p>\n<p>Once the page loads, click on the \u201cOracle_VM_VirtualBox_Extension_Pack-6.0.0.vbox-extpack\u201d file as marked in the screenshot below.<\/p>\n<p><u>NOTE:<\/u> Here, 6.0.0 is the version of the VirtualBox you installed. If it\u2019s different for you, then replace 6.0.0 in the URL with the version you have.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/15-27.png\" alt=\"\" width=\"1360\" height=\"768\" \/><\/p>\n<p>Your browser should prompt you to save the file. Select Save File and click on OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/16-25.png\" alt=\"\" width=\"1360\" height=\"768\" \/><\/p>\n<p>Your download should start.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/17-23.png\" alt=\"\" width=\"1140\" height=\"644\" \/><\/p>\n<p>Once the download is complete, start VirtualBox 6.0 and go to File &gt; Preferences\u2026<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/18-20.png\" alt=\"\" width=\"1136\" height=\"507\" \/><\/p>\n<p>Now, go to the Extensions tab.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/19-15.png\" alt=\"\" width=\"1002\" height=\"532\" \/><\/p>\n<p>From the Extensions tab, click on the add icon as marked in the screenshot below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/20-16.png\" alt=\"\" width=\"1041\" height=\"532\" \/><\/p>\n<p>A file picker should be opened. Now, select the VirtualBox Extension Pack file you just downloaded and click on Open.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/21-16.png\" alt=\"\" width=\"1140\" height=\"516\" \/><\/p>\n<p>Now, click on Install.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/22-15.png\" alt=\"\" width=\"998\" height=\"524\" \/><\/p>\n<p>Now, you have to accept the VirtualBox License. To do that, scroll down and click on I Agree.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/23-15.png\" alt=\"\" width=\"1052\" height=\"531\" \/><\/p>\n<p>You need super user privileges in order to install VirtualBox Extension Pack. Type in the password for your login user and click on Authenticate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/24-15.png\" alt=\"\" width=\"993\" height=\"523\" \/><\/p>\n<p>VirtualBox Extension Pack should be installed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/25-16.png\" alt=\"\" width=\"1084\" height=\"514\" \/><\/p>\n<p>Finally, click on OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/linuxhint.com\/wp-content\/uploads\/2018\/12\/26-11.png\" alt=\"\" width=\"965\" height=\"517\" \/><\/p>\n<p>Now, you can start using VirtualBox 6.0 to create and run virtual machines of your favorite operating systems. So, that\u2019s how you install VirtualBox 6.0 on Ubuntu 18.04 LTS. Thanks for reading this article.<\/p>\n<p><a href=\"https:\/\/linuxhint.com\/install_virtualbox_6_ubuntu\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VirtualBox is a free virtualization solution from Oracle. VirtualBox can virtualize Windows XP, Windows Vista, Windows 7, Windows 10, Ubuntu, Debian, CentOS and many other versions of Linux, Solaris, some BSD variants etc. Recently, VirtualBox 6.0, a major update of VirtualBox came out. In this article, I will show you how to install VirtualBox 6.0 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/12\/28\/install-virtualbox-6-0-on-ubuntu-18-04-linux-hint\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Install VirtualBox 6.0 on Ubuntu 18.04 \u2013 Linux Hint&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6671","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/6671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=6671"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/6671\/revisions"}],"predecessor-version":[{"id":6864,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/6671\/revisions\/6864"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=6671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=6671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=6671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}