How To Install inn on Ubuntu 22.04

Hostnbit

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

Introduction

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

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 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 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 Ubuntu. 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 Ubuntu 22.04

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 Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove inn

Remove inn Configurations and Data

To remove inn configuration and data from Ubuntu 22.04 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

References

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top