How To Install virtualbox-guest-source-hwe on Ubuntu 20.04

In this tutorial we learn how to install virtualbox-guest-source-hwe on Ubuntu 20.04. virtualbox-guest-source-hwe is x86 virtualization solution - guest addition module source x86 virtualization solution - guest addition module source x86 virtualization solution - guest addition module source

Introduction

In this tutorial we learn how to install virtualbox-guest-source-hwe on Ubuntu 20.04.

What is virtualbox-guest-source-hwe

virtualbox-guest-source-hwe 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 the source code for the virtualbox guest addition kernel modules. The virtualbox-guest-utils package is also required in order to make use of these modules. Kernel sources or headers are required to compile these modules.

The source is placed under /usr/src, and after decompression it can be built to produce a virtualbox-guest-modules-KVERS providing “virtualbox-guest-modules” package.

Package: virtualbox-guest-source-hwe Architecture: all Version: 6.1.16-dfsg-6ubuntu1.20.04.2 Priority: optional Section: multiverse/kernel Source: virtualbox-hwe Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Virtualbox Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1186 Provides: virtualbox-guest-source Depends: build-essential, bzip2, debhelper-compat (= 12), kbuild, module-assistant Conflicts: virtualbox-guest-source Replaces: virtualbox-guest-source Filename: pool/multiverse/v/virtualbox-hwe/virtualbox-guest-source-hwe_6.1.16-dfsg-6ubuntu1.20.04.2_all.deb Size: 1111240 MD5sum: e5f687e80589cd1742d002db37c76db6 SHA1: 13aeb3d277eb435f1dfdb5baa2d29faad6622441 SHA256: ad8d133a695aa5c6ad16c23cee300c364f7da60ba3419f0e49a578e75a7c9c8c SHA512: b38d282747dc253ab1a1e50d3846a5938e919ec13c10fc4fea930180232d0d940a1d5b3d5ebead57974e65fc0a802ff782687d872905345c498ed012c692d371 Homepage: https://www.virtualbox.org Description-en: x86 virtualization solution - guest addition module source 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 the source code for the virtualbox guest addition kernel modules. The virtualbox-guest-utils package is also required in order to make use of these modules. Kernel sources or headers are required to compile these modules.

The source is placed under /usr/src, and after decompression it can be built to produce a virtualbox-guest-modules-KVERS providing “virtualbox-guest-modules” package.

Package: virtualbox-guest-source-hwe Architecture: all Version: 6.1.6-dfsg-2ubuntu20.04.1 Priority: optional Section: multiverse/kernel Source: virtualbox-hwe Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Virtualbox Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1179 Provides: virtualbox-guest-source Depends: build-essential, bzip2, debhelper-compat (= 12), kbuild, module-assistant Conflicts: virtualbox-guest-source Replaces: virtualbox-guest-source Filename: pool/multiverse/v/virtualbox-hwe/virtualbox-guest-source-hwe_6.1.6-dfsg-2ubuntu20.04.1_all.deb Size: 1106332 MD5sum: 38a325885ac35489784a391d2dfd76e1 SHA1: 8b95dcf2e2fdb271284bc342e24928ea2c01b208 SHA256: 213493b8e0b635ea18090ef2883851313106bab2ee2b9cc1a60a7ff85036f515 Homepage: https://www.virtualbox.org Description-en: x86 virtualization solution - guest addition module source 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 the source code for the virtualbox guest addition kernel modules. The virtualbox-guest-utils package is also required in order to make use of these modules. Kernel sources or headers are required to compile these modules.

The source is placed under /usr/src, and after decompression it can be built to produce a virtualbox-guest-modules-KVERS providing “virtualbox-guest-modules” package.

There are three methods to install virtualbox-guest-source-hwe on Ubuntu 20.04. 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-source-hwe 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-source-hwe using apt-get by running the following command:

sudo apt-get -y install virtualbox-guest-source-hwe

Install virtualbox-guest-source-hwe Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install virtualbox-guest-source-hwe using apt by running the following command:

sudo apt -y install virtualbox-guest-source-hwe

Install virtualbox-guest-source-hwe 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-source-hwe using aptitude by running the following command:

sudo aptitude -y install virtualbox-guest-source-hwe

How To Uninstall virtualbox-guest-source-hwe on Ubuntu 20.04

To uninstall only the virtualbox-guest-source-hwe package we can use the following command:

sudo apt-get remove virtualbox-guest-source-hwe

Uninstall virtualbox-guest-source-hwe And Its Dependencies

To uninstall virtualbox-guest-source-hwe and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove virtualbox-guest-source-hwe

Remove virtualbox-guest-source-hwe Configurations and Data

To remove virtualbox-guest-source-hwe configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge virtualbox-guest-source-hwe

Remove virtualbox-guest-source-hwe configuration, data, and all of its dependencies

We can use the following command to remove virtualbox-guest-source-hwe configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge virtualbox-guest-source-hwe

References

Summary

In this tutorial we learn how to install virtualbox-guest-source-hwe package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.