How To Install west-chamber-source on Ubuntu 18.04

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

Introduction

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

What is west-chamber-source

west-chamber-source 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.

This package provides the source code for the west-chamber kernel modules. The west-chamber-common package is also required in order to make use of these modules. Kernel source or headers are required to compile these modules.

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

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

Install west-chamber-source Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install west-chamber-source

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

sudo aptitude -y install west-chamber-source

How To Uninstall west-chamber-source on Ubuntu 18.04

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

sudo apt-get remove west-chamber-source

Uninstall west-chamber-source And Its Dependencies

To uninstall west-chamber-source 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-source

Remove west-chamber-source Configurations and Data

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

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

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

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

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

References

Summary

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