{"id":2983,"date":"2019-05-16T22:58:54","date_gmt":"2019-05-16T19:58:54","guid":{"rendered":"https:\/\/kifarunix.com\/?p=2983"},"modified":"2019-11-23T10:57:34","modified_gmt":"2019-11-23T07:57:34","slug":"install-virtualbox-guest-additions-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-virtualbox-guest-additions-on-ubuntu-18-04\/","title":{"rendered":"Install VirtualBox Guest Additions on Ubuntu 18.04"},"content":{"rendered":"\n
In this guide, we are going to learn how to install VirtualBox Guest Additions on Ubuntu 18.04 VM. Oracle VM VirtualBox Guest Additions provides a closer integration between host and guest thus improving the interactive performance of guest systems.<\/p>\n\n\n\n
The Guest Additions offer the following features:<\/p>\n\n\n\n
You can read more about these features on the VirtualBox User Manual<\/a>.<\/p>\n\n\n\n VirtualBox Guest Additions are designed to be installed within the guest operating system. This guide demonstrates the installation of Guest Additions on Ubuntu 18.04 virtual machine.<\/p>\n\n\n\n Before you can proceed, you need to install some required packages such as Linux Kernel headers, dkms and build-essentials if they are not installed. You can verify the installation by running the command below;<\/p>\n\n\n\n The If they are not installed, you can run the command below to do the installation.<\/p>\n\n\n\n Once the installation is done, Navigate to Devices > Insert Guest Additions CD image<\/strong> on the Menu bar.<\/p>\n\n\n\n This will launch a dialog box which prompts you to run or cancel the installer.<\/p>\n\n\n\n Click Run<\/strong> to launch the installation of Guest additions on Ubuntu 18.04. You will be prompted to enter a password to authenticate the installation.<\/p>\n\n\n\n Supply your password and authenticate. The installer then launches the shell and run the installation. Once the installation is done, press Enter to close the installation window.<\/p>\n\n\n\n Next, restart your virtual machine in order to reload the kernel modules.<\/p>\n\n\n\n You can also install the Guest Additions from the terminal. To do this, press cancel when the installer dialog box opens up. The navigate to the mount point of the guest additions and run the command below;<\/p>\n\n\n\n or simply run;<\/p>\n\n\n\n You can now create shared folders as well as shared clipboards so that can you can be able to access your host files as well do copying in any direction you may want.<\/p>\n\n\n\n You can also install Guest Additions from repositories by running the command below;<\/p>\n\n\n\n The Guest Addition ISO will be installed under \/usr\/share\/virtualbox\/VBoxGuestAdditions.iso<\/strong>.<\/p>\n\n\n\n In this case, you need to mount the iso on the virtual machine as the CD and install it by navigating to the mount point and executing the installer script for Linux.<\/p>\n\n\n\n If you need to uninstall Guest Additions, <\/p>\n\n\n\n Great.That is how to install VirtualBox Guest Additions on Ubuntu 18.04 VM. Want to learn how to install VirtualBox extension pack on VirtualBox 6.0? See the link below;<\/p>\n\n\n\n Install VirtualBox Extension Pack on VirtualBox 6.0<\/a><\/p>\n\n\n\n Other VirtualBox installation guides;<\/p>\n\n\n\n In this guide, we are going to learn how to install VirtualBox Guest Additions on Ubuntu 18.04 VM. Oracle VM VirtualBox Guest Additions provides a<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,46,36],"tags":[954,309],"class_list":["post-2983","post","type-post","status-publish","format-standard","hentry","category-howtos","category-virtualbox","category-virtualization","tag-guest-additions","tag-virtualbox-6-0","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2983"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=2983"}],"version-history":[{"count":4,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2983\/revisions"}],"predecessor-version":[{"id":4679,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2983\/revisions\/4679"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=2983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=2983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=2983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Install VirtualBox Guest Additions on Ubuntu 18.04<\/h3>\n\n\n\n
Installing Guest Additions from Virtual Box Manager<\/h4>\n\n\n\n
sudo dpkg -l | grep -E \"dkms|linux-headers-$(uname -r)|build-essential\"\nii build-essential 12.1ubuntu2 amd64 Informational list of build-essential packages\nii dkms 2.2.0.3-2ubuntu11.6 all Dynamic Kernel Module Support Framework\nii linux-headers-4.15.0-50-generic 4.15.0-50.54~16.04.1 amd64 Linux kernel headers for version 4.15.0 on 64 bit x86 SMP<\/code><\/pre>\n\n\n\n
ii<\/code> means that the package is installed.<\/p>\n\n\n\n
apt update -y && apt upgrade\nsudo apt install dkms linux-headers-$(uname -r) build-essential<\/code><\/pre>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
<\/a><\/figure>\n\n\n\n
cd \/media\/<user>\/VBox_GAs_6.0.8\nsudo .\/VBoxLinuxAdditions.run<\/code><\/pre>\n\n\n\n
sudo \/media\/<user>\/VBox_GAs_6.0.8\/VBoxLinuxAdditions.run<\/code><\/pre>\n\n\n\n
apt install virtualbox-guest-additions-iso<\/code><\/pre>\n\n\n\n
sudo \/media\/<user>\/VBox_GAs_6.0.8\/VBoxLinuxAdditions.run uninstall<\/code><\/pre>\n\n\n\n