sqlcipher command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sqlcipher: command not found
or when using sudo you get the following error message
sudo: sqlcipher: command not found
Solutions to sqlcipher: command not found
How To Fix sqlcipher: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sqlcipher is provided by sqlcipher package.
sqlcipher is:
SQLCipher is a C library that implements an encryption in the SQLite 3 database engine. Programs that link with the SQLCipher library can have SQL database access without running a separate RDBMS process. It allows one to have per-database or page-by-page encryption using AES-256 from OpenSSL.
SQLCipher has a small footprint and great performance so it’s ideal for protecting embedded application databases and is well suited for mobile development.
- as little as 5-15% overhead for encryption
- 100% of data in the database file is encrypted
- Uses good security practices (CBC mode, key derivation)
- Zero-configuration and application level cryptography
- Algorithms provided by the peer reviewed OpenSSL crypto library.
SQLCipher has broad platform support for with C/C++, Obj-C, QT, Win32/.NET, Java, Python, Ruby, Linux, Mac OS X, iPhone/iOS, Android, Xamarin.iOS, and Xamarin.Android.
SQLCipher v3.4.1 is based on SQLite3 v3.15.2.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sqlcipher
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sqlcipher.
sudo apt -y install sqlcipher
Or if you have aptitude installed you can use the following command.
sudo aptitude install sqlcipher
Summary
In this tutorial we learn how to fix sqlcipher command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.