How To Install chromium-lwn4chrome on Ubuntu 18.04

In this tutorial we learn how to install chromium-lwn4chrome on Ubuntu 18.04. chromium-lwn4chrome is Chromium extension for making LWN.net slightly easier to read

Introduction

In this tutorial we learn how to install chromium-lwn4chrome on Ubuntu 18.04.

What is chromium-lwn4chrome

chromium-lwn4chrome is:

When faced with an LWN article that links to another LWN article, with perhaps a word of anchor text, it’s hard to tell if the new article is worth opening in a tab, is indeed already open in a tab, or has been previously read.

This package adds a adds title attributes to LWN links, which helps to solve this problem.

There are three methods to install chromium-lwn4chrome 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 chromium-lwn4chrome Using apt-get

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

sudo apt-get update

After updating apt database, We can install chromium-lwn4chrome using apt-get by running the following command:

sudo apt-get -y install chromium-lwn4chrome

Install chromium-lwn4chrome Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install chromium-lwn4chrome using apt by running the following command:

sudo apt -y install chromium-lwn4chrome

Install chromium-lwn4chrome 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 chromium-lwn4chrome using aptitude by running the following command:

sudo aptitude -y install chromium-lwn4chrome

How To Uninstall chromium-lwn4chrome on Ubuntu 18.04

To uninstall only the chromium-lwn4chrome package we can use the following command:

sudo apt-get remove chromium-lwn4chrome

Uninstall chromium-lwn4chrome And Its Dependencies

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

sudo apt-get -y autoremove chromium-lwn4chrome

Remove chromium-lwn4chrome Configurations and Data

To remove chromium-lwn4chrome configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge chromium-lwn4chrome

Remove chromium-lwn4chrome configuration, data, and all of its dependencies

We can use the following command to remove chromium-lwn4chrome configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge chromium-lwn4chrome

References

Summary

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