How To Install knews on Ubuntu 22.04

In this tutorial we learn how to install knews on Ubuntu 22.04. knews is Graphical threaded news reader

Introduction

In this tutorial we learn how to install knews on Ubuntu 22.04.

What is knews

knews is:

Knews is an X11 based thread-oriented news reader. It is capable of representing threads as a graphical tree, represents quotations with different colors and much more.

Also included here is knewsd, a tiny NNTP daemon which can read news from a spool directory or even from a mail folder hierarchy, for use when you don’t have a real server available. There is no guarantee that it will work with any client other than knews, so it is not packaged separately.

There are three methods to install knews on Ubuntu 22.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 knews Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install knews

Install knews Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install knews

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

sudo aptitude -y install knews

How To Uninstall knews on Ubuntu 22.04

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

sudo apt-get remove knews

Uninstall knews And Its Dependencies

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

sudo apt-get -y autoremove knews

Remove knews Configurations and Data

To remove knews configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge knews

Remove knews configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge knews

References

Summary

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