Computing, Linux, system administration, Ubuntu, virtual machines

Installing VirtualBox Guest Additions in Ubuntu guests

When you’ve installed an operating system in a virtual machine, you usually want to install special drivers and tools inside it to enhance performance and features. With VirtualBox, this is done through the Guest Additions.

Many guides out there instruct you to install VirtualBox Guest Additions from the CD image (ISO). But in recent versions of Ubuntu, you can install them through the package manager, which is much simpler, and you can keep the Guest Additions automatically updated.

In Ubuntu 20.04 (Focal Fossa), the Guest Additions are installed by typing:

sudo apt install virtualbox-guest-dkms virtualbox-guest-x11

If it doesn’t work, make sure you have the multiverse repository enabled:

sudo add-apt-repository multiverse

That’s all. Thanks to LinuxConfig.org for instructions.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s