How To Install west-chamber-dkms on Ubuntu 18.04

In this tutorial we learn how to install west-chamber-dkms on Ubuntu 18.04. west-chamber-dkms is iptable extension for bypassing content filtering firewall (dkms)

Introduction

In this tutorial we learn how to install west-chamber-dkms on Ubuntu 18.04.

What is west-chamber-dkms

west-chamber-dkms is:

West-chamber is an iptable extension named after the famous Chinese ancient fiction - Romance of the West Chamber. It is based on the idea of T. Ptacek’s paper in 1998 which allows users go through some content-filtered firewall without 3rd-party proxies.

The dkms package will automatically compile the driver for your current kernel version.

There are three methods to install west-chamber-dkms 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 west-chamber-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 west-chamber-dkms using apt-get by running the following command:

sudo apt-get -y install west-chamber-dkms

Install west-chamber-dkms Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install west-chamber-dkms using apt by running the following command:

sudo apt -y install west-chamber-dkms

Install west-chamber-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 west-chamber-dkms using aptitude by running the following command:

sudo aptitude -y install west-chamber-dkms

How To Uninstall west-chamber-dkms on Ubuntu 18.04

To uninstall only the west-chamber-dkms package we can use the following command:

sudo apt-get remove west-chamber-dkms

Uninstall west-chamber-dkms And Its Dependencies

To uninstall west-chamber-dkms and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove west-chamber-dkms

Remove west-chamber-dkms Configurations and Data

To remove west-chamber-dkms configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge west-chamber-dkms

Remove west-chamber-dkms configuration, data, and all of its dependencies

We can use the following command to remove west-chamber-dkms configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge west-chamber-dkms

References

Summary

In this tutorial we learn how to install west-chamber-dkms package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.