- prepare build tools if tools not ready
1
sudo apt-get install build-essential
- download source code package from https://www.sqlite.org/download.html
1
curl -O https://www.sqlite.org/snapshot/sqlite-snapshot-202003121754.tar.gz
- unzip and enter the dir
1
2tar xvzf sqlite...tar.gz
cd sqlite... - compile, build and install
1
2
3
4./configure
make
#if failed, try "make clean" and run "make" again
sudo make install
Reference from:
- https://stackoverflow.com/questions/19816275/no-acceptable-c-compiler-found-in-path-when-installing-python
- INSTALL doc in the package
SQLite 安装