iusql command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
iusql: command not found
or when using sudo you get the following error message
sudo: iusql: command not found
Solutions to iusql: command not found
How To Fix iusql: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu iusql is provided by unixodbc package.
unixodbc is:
UnixODBC is an implementation of the Open Database Connectivity standard, a database abstraction layer that allows applications to be used with many different relational databases by way of a single library.
This package contains isql and iusql, command-line tools that allow SQL commands to be entered interactively or in batches.
To fix this problem, we can install more using the command below.
sudo apt-get -y install unixodbc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install unixodbc.
sudo apt -y install unixodbc
Or if you have aptitude installed you can use the following command.
sudo aptitude install unixodbc
Summary
In this tutorial we learn how to fix iusql command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.