How To Install virtualbox-guest-additions-iso on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 389 words
Introduction
In this tutorial we learn how to install virtualbox-guest-additions-iso
on Ubuntu.
What is virtualbox-guest-additions-iso
virtualbox-guest-additions-iso is:
VirtualBox is a free x86 virtualization solution allowing a wide range of x86 operating systems such as Windows, DOS, BSD or Linux to run on a Linux system.
This package provides an iso image which contains the guest additions for Linux, Solaris and Windows to be installed on the host system. The guest systems then can mount the iso and install the guest additions from there.
There are three methods to install virtualbox-guest-additions-iso
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install virtualbox-guest-additions-iso Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install virtualbox-guest-additions-iso
using apt-get
by running the following command:
sudo apt-get -y install virtualbox-guest-additions-iso
Install virtualbox-guest-additions-iso Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install virtualbox-guest-additions-iso
using apt
by running the following command:
sudo apt -y install virtualbox-guest-additions-iso
Install virtualbox-guest-additions-iso Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install virtualbox-guest-additions-iso
using aptitude
by running the following command:
sudo aptitude -y install virtualbox-guest-additions-iso
How To Uninstall virtualbox-guest-additions-iso on Ubuntu
To uninstall only the virtualbox-guest-additions-iso
package we can use the following command:
sudo apt-get remove virtualbox-guest-additions-iso
Uninstall virtualbox-guest-additions-iso And Its Dependencies
To uninstall virtualbox-guest-additions-iso
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove virtualbox-guest-additions-iso
Remove virtualbox-guest-additions-iso Configurations and Data
To remove virtualbox-guest-additions-iso
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge virtualbox-guest-additions-iso
Remove virtualbox-guest-additions-iso configuration, data, and all of its dependencies
We can use the following command to remove virtualbox-guest-additions-iso
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge virtualbox-guest-additions-iso
Dependencies
virtualbox-guest-additions-iso have the following dependencies:
References
Summary
In this tutorial we learn how to install virtualbox-guest-additions-iso
package on Ubuntu using different package management tools: apt, apt-get and aptitude.