sqlite command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sqlite: command not found
or when using sudo you get the following error message
sudo: sqlite: command not found
Solutions to sqlite: command not found
How To Fix sqlite: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sqlite is provided by sqlite package.
sqlite 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.
NOTE: This package is SQLite version 2. Most programs that use SQLite use SQLite version 3. See the “sqlite3” package for that.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sqlite
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sqlite.
sudo apt -y install sqlite
Or if you have aptitude installed you can use the following command.
sudo aptitude install sqlite
Summary
In this tutorial we learn how to fix sqlite command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.