How To Install rtl8821ce-dkms on Ubuntu 20.04
Introduction
In this tutorial we learn how to install rtl8821ce-dkms
on Ubuntu 20.04.
What is rtl8821ce-dkms
rtl8821ce-dkms is:
This package provides the DKMS source code for the rtl8821ce kernel module. Kernel source or headers are required to compile these modules. Modaliases: rtl8821ce(pci:v000010ECd0000C82Bsvsdbcsci*, pci:v000010ECd0000C82Asvsdbcsci*, pci:v000010ECd0000C821svsdbcsci*)
Package: rtl8821ce-dkms Architecture: all Version: 5.5.2.1-0ubuntu3 Priority: optional Section: universe/kernel Source: rtl8821ce Origin: Ubuntu Maintainer: Canonical HWE Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 24636 Depends: dkms (>= 2.1.0.0), bc Filename: pool/universe/r/rtl8821ce/rtl8821ce-dkms_5.5.2.1-0ubuntu3_all.deb Size: 2196372 MD5sum: a855063cdc8c7b2974aaa5e547c00f15 SHA1: 4d0f976d9391fc2a9c909cd8f6d01f318d1225ae SHA256: 59fd4531b8c2052576927a272afd4adbc0fd5c41071c0d087bc6d48033675198 Description-en: DKMS source for the Realtek 8821C PCIe WiFi driver This package provides the DKMS source code for the rtl8821ce kernel module. Kernel source or headers are required to compile these modules. Modaliases: rtl8821ce(pci:v000010ECd0000C82Bsvsdbcsci*, pci:v000010ECd0000C82Asvsdbcsci*, pci:v000010ECd0000C821svsdbcsci*)
There are three methods to install rtl8821ce-dkms
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 rtl8821ce-dkms Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install rtl8821ce-dkms
using apt-get
by running the following command:
sudo apt-get -y install rtl8821ce-dkms
Install rtl8821ce-dkms Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install rtl8821ce-dkms
using apt
by running the following command:
sudo apt -y install rtl8821ce-dkms
Install rtl8821ce-dkms 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 rtl8821ce-dkms
using aptitude
by running the following command:
sudo aptitude -y install rtl8821ce-dkms
How To Uninstall rtl8821ce-dkms on Ubuntu 20.04
To uninstall only the rtl8821ce-dkms
package we can use the following command:
sudo apt-get remove rtl8821ce-dkms
Uninstall rtl8821ce-dkms And Its Dependencies
To uninstall rtl8821ce-dkms
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove rtl8821ce-dkms
Remove rtl8821ce-dkms Configurations and Data
To remove rtl8821ce-dkms
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge rtl8821ce-dkms
Remove rtl8821ce-dkms configuration, data, and all of its dependencies
We can use the following command to remove rtl8821ce-dkms
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge rtl8821ce-dkms
References
Summary
In this tutorial we learn how to install rtl8821ce-dkms
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.