1、下载
https://www.sqlite.org/download.html
wget https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
2、解压、编译
tar -zxvf sqlite-autoconf-3330000.tar.gz
cd sqlite-autoconf-3330000
./configure
make -j
make install
3、测试sqlite是否生效
sqlite3 --version
如果不生效
cp sqlite3 /usr/bin/