先下载SQLlite官网下载包
https://www.sqlite.org/download.html
下载最新版本压缩包
sqlite-autoconf-3390000.tar.gz
解压缩
执行如下命令安装
./configure
make
sudo make install
测试
在任意目录下新建一个数据库,比如sample
命令:sqlite3 sample
会出现如下提示:
SQLite version 3.13.0 2016-05-18 10:57:30
Enter “.help” for usage hints.
sqlite>
https://blog.csdn.net/struggling_jeff/article/details/117166478
https://blog.csdn.net/myWorld001/article/details/109046853
https://www.cnblogs.com/greatverve/archive/2012/09/22/cpp-sqlite-start.html