ii command not found

In this troubleshooting guide we learn how to fix ii command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

ii: command not found

or when using sudo you get the following error message

sudo: ii: command not found

Solutions to ii: command not found

How To Fix ii: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ii is provided by ii package.

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 <= 1000 lines of code and is the big brother of sic.

To fix this problem, we can install more using the command below.

sudo apt-get -y install ii

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install ii.

sudo apt -y install ii

Or if you have aptitude installed you can use the following command.

sudo aptitude install ii

Summary

In this tutorial we learn how to fix ii command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.