How To Install slrn on Ubuntu 18.04

In this tutorial we learn how to install slrn on Ubuntu 18.04. slrn is threaded text-mode news reader

Introduction

In this tutorial we learn how to install slrn on Ubuntu 18.04.

What is slrn

slrn is:

Slrn is a threaded news reader with color support that is designed to read news fast over slow links.

Slrn can read usenet news via NNTP or directly from a local news spool.

Slrn can be heavily customized from its rc file, and even includes a built in macro language. There is also support for killfiles and article scoring.

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

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

sudo apt-get update

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

sudo apt-get -y install slrn

Install slrn Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install slrn using apt by running the following command:

sudo apt -y install slrn

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

sudo aptitude -y install slrn

How To Uninstall slrn on Ubuntu 18.04

To uninstall only the slrn package we can use the following command:

sudo apt-get remove slrn

Uninstall slrn And Its Dependencies

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

sudo apt-get -y autoremove slrn

Remove slrn Configurations and Data

To remove slrn configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge slrn

Remove slrn configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge slrn

References

Summary

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