How To Install linux-gcp-tools-4.15.0-1010 on Ubuntu 18.04

In this tutorial we learn how to install linux-gcp-tools-4.15.0-1010 on Ubuntu 18.04. linux-gcp-tools-4.15.0-1010 is Linux kernel version specific tools for version 4.15.0-1010

Introduction

In this tutorial we learn how to install linux-gcp-tools-4.15.0-1010 on Ubuntu 18.04.

What is linux-gcp-tools-4.15.0-1010

linux-gcp-tools-4.15.0-1010 is:

This package provides the architecture dependant parts for kernel version locked tools (such as perf and x86_energy_perf_policy) for version 4.15.0-1010 on 64 bit x86. You probably want to install linux-tools-4.15.0-1010-.

There are three methods to install linux-gcp-tools-4.15.0-1010 on Ubuntu 18.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-gcp-tools-4.15.0-1010 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-gcp-tools-4.15.0-1010 using apt-get by running the following command:

sudo apt-get -y install linux-gcp-tools-4.15.0-1010

Install linux-gcp-tools-4.15.0-1010 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install linux-gcp-tools-4.15.0-1010

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

sudo aptitude -y install linux-gcp-tools-4.15.0-1010

How To Uninstall linux-gcp-tools-4.15.0-1010 on Ubuntu 18.04

To uninstall only the linux-gcp-tools-4.15.0-1010 package we can use the following command:

sudo apt-get remove linux-gcp-tools-4.15.0-1010

Uninstall linux-gcp-tools-4.15.0-1010 And Its Dependencies

To uninstall linux-gcp-tools-4.15.0-1010 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove linux-gcp-tools-4.15.0-1010

Remove linux-gcp-tools-4.15.0-1010 Configurations and Data

To remove linux-gcp-tools-4.15.0-1010 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge linux-gcp-tools-4.15.0-1010

Remove linux-gcp-tools-4.15.0-1010 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge linux-gcp-tools-4.15.0-1010

References

Summary

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