How To Install inn on Debian 11

In this tutorial we learn how to install inn on Debian 11. inn is News transport system `InterNetNews by the ISC and Rich Salz

Introduction

In this tutorial we learn how to install inn on Debian 11.

What is inn

inn is:

This is INN version 1.x, provided for smaller sites which do not need the complexity of INN 2.x. Large sites should use Debian’s inn2 package instead.

The news transport is the part of the system that stores the articles and the lists of which groups are available and so on, and provides those articles on request to users. It receives news (either posted locally or from a newsfeed site), files it, and passes it on to any downstream sites. Each article is kept for a period of time and then deleted (this is known as `expiry’).

By default Debian’s INN will install in a fairly simple `local-only' configuration.

In order to make use of the services provided by INN you’ll have to use a user-level newsreader program such as pan. The newsreader is the program that fetches articles from the server and shows them to the user, remembering which the user has seen so that they don’t get shown again. It also provides the posting interface for the user.

There are three methods to install inn on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install inn Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install inn

Install inn Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install inn

Install inn 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install inn

How To Uninstall inn on Debian 11

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

sudo apt-get remove inn

Uninstall inn And Its Dependencies

To uninstall inn and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove inn

Remove inn Configurations and Data

To remove inn configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge inn

Remove inn configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge inn

Dependencies

inn have the following dependencies:

References

Summary

In this tutorial we learn how to install inn package on Debian 11 using different package management tools: apt, apt-get and aptitude.