centos7 升级sqlite3

升级sqlite3
官网 点击
1.下载源码
wget https://www.sqlite.org/2019/sqlite-autoconf-3300100.tar.gz
2.解压,编译
tar zxvf sqlite-autoconf-3290000.tar.gz
cd sqlite-autoconf-3290000/
./configure --prefix=/usr/local
make && make install
3.替换系统低版本sqlite3

mv /usr/bin/sqlite3 /usr/bin/sqlite3_old
ln -s /usr/local/bin/sqlite3 /usr/bin/sqlite3
echo "/usr/local/lib" > /etc/ld.so.conf.d/sqlite3.conf
ldconfig
sqlite3 -version

你可能感兴趣的:(centos7 升级sqlite3)