How To Install linux-oracle on Ubuntu 20.04
Introduction
In this tutorial we learn how to install linux-oracle
on Ubuntu 20.04.
What is linux-oracle
linux-oracle is:
This package will always depend on the latest complete Linux kernel available for Oracle systems.
Package: linux-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 Provides: kernel-testing–linux-oracle–full–oracle, kernel-testing–linux-oracle–full–preferred Depends: linux-image-oracle (= 5.4.0.1009.9), linux-headers-oracle (= 5.4.0.1009.9) Filename: pool/main/l/linux-meta-oracle/linux-oracle_5.4.0.1009.9_amd64.deb Size: 1908 MD5sum: 958c9fa1cd0c6e961234dec9ac618144 SHA1: 779d2da92d7648f873c4762bffcedd039cd87bf2 SHA256: 894499f4f8f6053296361bc9d4aab9bf84843a3f69aa37b5d8f752ea8ff1514a Description-en: Complete Linux kernel for Oracle systems. This package will always depend on the latest complete Linux kernel available for Oracle systems.
There are three methods to install linux-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-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-oracle
using apt-get
by running the following command:
sudo apt-get -y install linux-oracle
Install linux-oracle Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install linux-oracle
using apt
by running the following command:
sudo apt -y install linux-oracle
Install linux-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-oracle
using aptitude
by running the following command:
sudo aptitude -y install linux-oracle
How To Uninstall linux-oracle on Ubuntu 20.04
To uninstall only the linux-oracle
package we can use the following command:
sudo apt-get remove linux-oracle
Uninstall linux-oracle And Its Dependencies
To uninstall linux-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-oracle
Remove linux-oracle Configurations and Data
To remove linux-oracle
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge linux-oracle
Remove linux-oracle configuration, data, and all of its dependencies
We can use the following command to remove linux-oracle
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge linux-oracle
References
Summary
In this tutorial we learn how to install linux-oracle
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.