How To Install inn2 on Debian 11
Introduction
In this tutorial we learn how to install inn2
on Debian 11.
What is inn2
inn2 is:
This package provides INN 2.x, which is a very complex news server daemon useful for big sites. The ‘inn’ package still exists for smaller sites which do not need the complexity of INN 2.x.
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 inn2
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 inn2 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install inn2
using apt-get
by running the following command:
sudo apt-get -y install inn2
Install inn2 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install inn2
using apt
by running the following command:
sudo apt -y install inn2
Install inn2 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 inn2
using aptitude
by running the following command:
sudo aptitude -y install inn2
How To Uninstall inn2 on Debian 11
To uninstall only the inn2
package we can use the following command:
sudo apt-get remove inn2
Uninstall inn2 And Its Dependencies
To uninstall inn2
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove inn2
Remove inn2 Configurations and Data
To remove inn2
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge inn2
Remove inn2 configuration, data, and all of its dependencies
We can use the following command to remove inn2
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge inn2
Dependencies
inn2 have the following dependencies:
References
Summary
In this tutorial we learn how to install inn2
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.