How To Install ii on Debian 9

In this tutorial we learn how to install ii on Debian 9. ii is minimalist FIFO and filesystem-based IRC client

Introduction

In this tutorial we learn how to install ii on Debian 9.

What is ii

ii is:

ii (irc it) is a minimalist FIFO and filesystem-based IRC client. It creates an irc directory tree with server, channel and nick name directories. In every directory a FIFO in file and a normal out file is created.

The in file is used to communicate with the servers and the out files contain the server messages. For every channel and every nick name there are related in and out files created. This allows IRC communication from command line and adheres to the Unix philosophy.

It consists of <= 500 lines of code and is the big brother of sic.

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

Install ii Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ii

Install ii Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ii

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

sudo aptitude -y install ii

How To Uninstall ii on Debian 9

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

sudo apt-get remove ii

Uninstall ii And Its Dependencies

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

sudo apt-get -y autoremove ii

Remove ii Configurations and Data

To remove ii configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge ii

Remove ii configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ii

Dependencies

ii have the following dependencies:

References

Summary

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