How To Install linux-oracle-5.4-tools-5.4.0-1048 on Ubuntu 18.04

In this tutorial we learn how to install linux-oracle-5.4-tools-5.4.0-1048 on Ubuntu 18.04. linux-oracle-5.4-tools-5.4.0-1048 is Oracle Linux kernel version specific tools for version 5.4.0-1048

Introduction

In this tutorial we learn how to install linux-oracle-5.4-tools-5.4.0-1048 on Ubuntu 18.04.

What is linux-oracle-5.4-tools-5.4.0-1048

linux-oracle-5.4-tools-5.4.0-1048 is:

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

There are three methods to install linux-oracle-5.4-tools-5.4.0-1048 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-oracle-5.4-tools-5.4.0-1048 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-oracle-5.4-tools-5.4.0-1048 using apt-get by running the following command:

sudo apt-get -y install linux-oracle-5.4-tools-5.4.0-1048

Install linux-oracle-5.4-tools-5.4.0-1048 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install linux-oracle-5.4-tools-5.4.0-1048 using apt by running the following command:

sudo apt -y install linux-oracle-5.4-tools-5.4.0-1048

Install linux-oracle-5.4-tools-5.4.0-1048 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-oracle-5.4-tools-5.4.0-1048 using aptitude by running the following command:

sudo aptitude -y install linux-oracle-5.4-tools-5.4.0-1048

How To Uninstall linux-oracle-5.4-tools-5.4.0-1048 on Ubuntu 18.04

To uninstall only the linux-oracle-5.4-tools-5.4.0-1048 package we can use the following command:

sudo apt-get remove linux-oracle-5.4-tools-5.4.0-1048

Uninstall linux-oracle-5.4-tools-5.4.0-1048 And Its Dependencies

To uninstall linux-oracle-5.4-tools-5.4.0-1048 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove linux-oracle-5.4-tools-5.4.0-1048

Remove linux-oracle-5.4-tools-5.4.0-1048 Configurations and Data

To remove linux-oracle-5.4-tools-5.4.0-1048 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge linux-oracle-5.4-tools-5.4.0-1048

Remove linux-oracle-5.4-tools-5.4.0-1048 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge linux-oracle-5.4-tools-5.4.0-1048

References

Summary

In this tutorial we learn how to install linux-oracle-5.4-tools-5.4.0-1048 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.