sqlline command not found

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

Introduction

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

sqlline: command not found

or when using sudo you get the following error message

sudo: sqlline: command not found

Solutions to sqlline: command not found

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

In Ubuntu sqlline is provided by sqlline package.

sqlline is:

SQLLine is a pure-Java console based utility for connecting to relational databases and executing SQL commands.

It is similar to other command-line database access utilities like sqlplus for Oracle, mysql for MySQL, and isql for Sybase/SQL Server.

Since it is pure-Java, it is platform independent, and will run on any platform that can run Java 1.3 or higher.

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

sudo apt-get -y install sqlline

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

You can also use apt command to install sqlline.

sudo apt -y install sqlline

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

sudo aptitude install sqlline

Summary

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