How To Install webext-privacy-badger on Ubuntu 18.04

In this tutorial we learn how to install webext-privacy-badger on Ubuntu 18.04. webext-privacy-badger is Privacy Badger blocks spying ads and invisible trackers

Introduction

In this tutorial we learn how to install webext-privacy-badger on Ubuntu 18.04.

What is webext-privacy-badger

webext-privacy-badger is:

Privacy Badger is a browser add-on that stops advertisers and other third-party trackers from secretly tracking where you go and what pages you look at on the web. If an advertiser seems to be tracking you across multiple websites without your permission, Privacy Badger automatically blocks that advertiser from loading any more content in your browser. To the advertiser, it’s like you suddenly disappeared.

There are three methods to install webext-privacy-badger 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 webext-privacy-badger Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install webext-privacy-badger using apt-get by running the following command:

sudo apt-get -y install webext-privacy-badger

Install webext-privacy-badger Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install webext-privacy-badger using apt by running the following command:

sudo apt -y install webext-privacy-badger

Install webext-privacy-badger 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 webext-privacy-badger using aptitude by running the following command:

sudo aptitude -y install webext-privacy-badger

How To Uninstall webext-privacy-badger on Ubuntu 18.04

To uninstall only the webext-privacy-badger package we can use the following command:

sudo apt-get remove webext-privacy-badger

Uninstall webext-privacy-badger And Its Dependencies

To uninstall webext-privacy-badger and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove webext-privacy-badger

Remove webext-privacy-badger Configurations and Data

To remove webext-privacy-badger configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge webext-privacy-badger

Remove webext-privacy-badger configuration, data, and all of its dependencies

We can use the following command to remove webext-privacy-badger configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge webext-privacy-badger

References

Summary

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