centos 7 升级sqlite3

#项目用的sqlite,centos7自带的版本太低需要升级
#下载:https://www.sqlite.org/2020/sqlite-autoconf-3330000.tar.gz
tar -zxvf sqlite-autoconf-3330000.tar.gz 
cd sqlite-autoconf-3330000
./configure --prefix=/usr/local
make && make install
mv sqlite3 sqlite3.7.11
ln -s /usr/local/bin/sqlite3 /usr/bin/sqlite3
echo "/usr/local/lib" > /etc/ld.so.conf.d/sqlite3.conf
ldconfig
sqlite3 -version
posted @ 2020-10-15 12:44  博客萨斯州  阅读(195)  评论(0编辑  收藏  举报