In this tutorial we will be installing the Virtualbox guest additions on Ubuntu 20.04 LTS Focal Fossa Linux. Virtualbox guest additions allows for better screen resolution and mouse integration.

In this tutorial you will learn:
  • How to Install Virtualbox guest additions compilation and installation.
  • How to check Virtualbox guest additions installation.
Virtualbox guest additions on Ubuntu 20.04 LTS Focal Fossa
Virtualbox guest additions on Ubuntu 20.04 LTS Focal Fossa

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed or upgraded Ubuntu 20.04 Focal Fossa
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

How to install Virtualbox guest additions on Ubuntu 20.04 LTS Focal Fossa step by step instructions

  1. The easiest way to install Virtualbox guest additions on Ubuntu 20.04 LTS Focal Fossa is to install the following packages from a standard Ubuntu repository:
    $ sudo apt install virtualbox-guest-dkms virtualbox-guest-x11
    

  2. SUBSCRIBE TO NEWSLETTER
    Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


  3. All done. Reboot your virtual machine:

    $ sudo reboot
    
  4. Confirm the Virtualbox guest additions:

    lsmod  | grep vbox
    vboxsf                 81920  0
    vboxguest             344064  6 vboxsf
    
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.