Published on May 1, 2018 by ProgrammingKnowledge

Best Linux Tutorial –
The new Ubuntu 18.04 LTS is out now. But VirtualBox Guest Additions software is not working properly after installation. So this post shows the step by step procedure on how to install it properly.

Step 1. Install required packages.
Before installing VirtualBox Guest Additions on Ubuntu 18.04 we need to install some required packages. So open the terminal and run the following command.

sudo apt install linux-headers-$(uname -r) build-essential dkms

Step 2. Install Guest Additions using virtual box.
In order To install VirtualBox Guest Additions on Ubuntu virtual machine, Got to VirtualBox – select the Devices from VirtualBox host application menu – click Insert Guest Additions CD image.

Step 3. This will open a pop up window and it will ask you to run it. Press Run button (see the picture below)
After pressing Run button it will install VirtualBox Guest Additions on Ubuntu 18.04. Press enter to close the window.
Step 4. Shut down your Ubuntu 18.04 Guest.
Step 5. Start Ubuntu 18.04 virtual machine and check if copy and paste works.

——————-Online Courses to learn—————————-
Java –
C++ –
AngularJS –
Python –
Android –
Linux –
AWS Certified Solutions Architect –
Modern React with Redux –
My Website –
My Blog –
My Facebook Page –
Google+ –
Twitter –
Pinterest –
Text Case Converter –
————————-Stuff I use to make videos ——————-
Stuff I use to make videos
Windows notebook –
Apple MacBook Pro –
Ubuntu notebook –
Desktop –
Microphone –
notebook mouse –
——————Facebook Links —————————————-

Leave a Reply

6 Comments on "How Install VirtualBox Guest Additions on Ubuntu 18.04 Guest / virtual machine"

Notify of

Rafael Doomlao
Rafael Doomlao
1 month 9 days ago

Worked perfectly, 10/10 tutorial

ashish rawat
ashish rawat
2 months 8 days ago

I m working in vm on Ubuntu Can you tell me how i can get the file present in vm ubuntu to my main desktop

Vishal Gupta
Vishal Gupta
2 months 22 days ago

Sir showing error :- unable to locate package build-essential Unable to locate package dkms

Mario Lombardo YWCA
Mario Lombardo YWCA
1 month 9 days ago

Try: sudo apt-get install build-essential

Camila Yuri .M.
Camila Yuri .M.
1 month 26 days ago

The same thing happened to me. Loooking for a solution to that.

2 months 22 days ago