sqlite3 command not found

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

Introduction

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

sqlite3: command not found

or when using sudo you get the following error message

sudo: sqlite3: command not found

Solutions to sqlite3: command not found

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

In Ubuntu sqlite3 is provided by sqlite3 package.

sqlite3 is:

SQLite is a C library that implements an SQL database engine. Programs that link with the SQLite library can have SQL database access without running a separate RDBMS process.

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

sudo apt-get -y install sqlite3

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

You can also use apt command to install sqlite3.

sudo apt -y install sqlite3

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

sudo aptitude install sqlite3

Summary

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