How To Install linux-headers-oracle on Ubuntu 20.04
Introduction
In this tutorial we learn how to install linux-headers-oracle
on Ubuntu 20.04.
What is linux-headers-oracle
linux-headers-oracle is:
This package will always depend on the latest kernel headers available for Oracle systems.
Package: linux-headers-oracle Architecture: amd64 Version: 5.4.0.1009.9 Priority: optional Section: kernel Source: linux-meta-oracle Origin: Ubuntu Maintainer: Ubuntu Kernel Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 10 Depends: linux-headers-5.4.0-1009-oracle Filename: pool/main/l/linux-meta-oracle/linux-headers-oracle_5.4.0.1009.9_amd64.deb Size: 2704 MD5sum: 5af55540dfe192ee2712e29a6ae4e2c8 SHA1: 9c78b999074ca0d9b76e319c40223afa368bea5c SHA256: 07401ce827da028b1a89676da35d3f08bbfa5c98e2e308680d22cd2d7f61282c Description-en: Linux kernel headers for Oracle systems. This package will always depend on the latest kernel headers available for Oracle systems.
There are three methods to install linux-headers-oracle
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-headers-oracle 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-headers-oracle
using apt-get
by running the following command:
sudo apt-get -y install linux-headers-oracle
Install linux-headers-oracle Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install linux-headers-oracle
using apt
by running the following command:
sudo apt -y install linux-headers-oracle
Install linux-headers-oracle 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-headers-oracle
using aptitude
by running the following command:
sudo aptitude -y install linux-headers-oracle
How To Uninstall linux-headers-oracle on Ubuntu 20.04
To uninstall only the linux-headers-oracle
package we can use the following command:
sudo apt-get remove linux-headers-oracle
Uninstall linux-headers-oracle And Its Dependencies
To uninstall linux-headers-oracle
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove linux-headers-oracle
Remove linux-headers-oracle Configurations and Data
To remove linux-headers-oracle
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge linux-headers-oracle
Remove linux-headers-oracle configuration, data, and all of its dependencies
We can use the following command to remove linux-headers-oracle
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge linux-headers-oracle
References
Summary
In this tutorial we learn how to install linux-headers-oracle
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.