How To Install xpn on Ubuntu 18.04

In this tutorial we learn how to install xpn on Ubuntu 18.04. xpn is graphical newsreader written in Python and GTK+ toolkit

Introduction

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

What is xpn

xpn is:

With XPN you can read/write articles on the Usenet with a good MIME support. XPN can operate with all the most widespread charsets, starting from US-ASCII to UTF-8. When you edit an article XPN automatically chooses the best charset, however is always possible to override this choice.

There also other useful features like scoring, filtered views, random tag-lines, external editor support, one-key navigation, ROT13, spoiler char, …

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

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

sudo apt-get update

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

sudo apt-get -y install xpn

Install xpn Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xpn

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

sudo aptitude -y install xpn

How To Uninstall xpn on Ubuntu 18.04

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

sudo apt-get remove xpn

Uninstall xpn And Its Dependencies

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

sudo apt-get -y autoremove xpn

Remove xpn Configurations and Data

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

sudo apt-get -y purge xpn

Remove xpn configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xpn

References

Summary

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