How To Install linux-tools-azure on Ubuntu 20.04

In this tutorial we learn how to install linux-tools-azure on Ubuntu 20.04. linux-tools-azure is Linux kernel versioned tools for Azure systems. Linux kernel versioned tools for Azure systems.

Introduction

In this tutorial we learn how to install linux-tools-azure on Ubuntu 20.04.

What is linux-tools-azure

linux-tools-azure is:

This package will always depend on the latest Linux kernel versioned tools available for Azure systems.

Package: linux-tools-azure Architecture: amd64 Version: 5.4.0.1010.11 Priority: optional Section: metapackages Source: linux-meta-azure Origin: Ubuntu Maintainer: Ubuntu Kernel Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 12 Depends: linux-tools-5.4.0-1010-azure Filename: pool/main/l/linux-meta-azure/linux-tools-azure_5.4.0.1010.11_amd64.deb Size: 2556 MD5sum: da3d07817c1f13de91e865ad57d92854 SHA1: 23c39dd6b45806e3be2a525d4e95e8ee9657db01 SHA256: 590f236019ef63b0af884e8706938c3091282866420659549ae754aa9a1dc2d1 Description-en: Linux kernel versioned tools for Azure systems. This package will always depend on the latest Linux kernel versioned tools available for Azure systems.

There are three methods to install linux-tools-azure 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 linux-tools-azure Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install linux-tools-azure using apt-get by running the following command:

sudo apt-get -y install linux-tools-azure

Install linux-tools-azure Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install linux-tools-azure using apt by running the following command:

sudo apt -y install linux-tools-azure

Install linux-tools-azure 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 linux-tools-azure using aptitude by running the following command:

sudo aptitude -y install linux-tools-azure

How To Uninstall linux-tools-azure on Ubuntu 20.04

To uninstall only the linux-tools-azure package we can use the following command:

sudo apt-get remove linux-tools-azure

Uninstall linux-tools-azure And Its Dependencies

To uninstall linux-tools-azure and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove linux-tools-azure

Remove linux-tools-azure Configurations and Data

To remove linux-tools-azure configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge linux-tools-azure

Remove linux-tools-azure configuration, data, and all of its dependencies

We can use the following command to remove linux-tools-azure configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge linux-tools-azure

References

Summary

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