下载地址:https://www.sqlite.org/download.html

[root@djangoServer ~]# wget https://www.sqlite.org/2019/sqlite-autoconf-3290000.tar.gz
[root@djangoServer ~]# tar -zxvf sqlite-autoconf-3290000.tar.gz

#构建并安装
[root@djangoServer ~]# cd sqlite-autoconf-3270200
[root@djangoServer sqlite-autoconf-3290000]# ./configure --prefix=/usr/local/sqlite
[root@djangoServer sqlite-autoconf-3290000]# make && make install

#检查版本
## 最新安装的sqlite3版本
[root@djangoServer ~]# /usr/local/sqlite/bin/sqlite3 --version

# 备份旧的sqlite3
[root@djangoServer ~]# mv /usr/bin/sqlite3 /usr/bin/sqlite3_old

## 软链接将新的sqlite3设置到/usr/bin目录下
[root@djangoServer ~]# ln -s /usr/local/sqlite/bin/sqlite3 /usr/bin/sqlite3

## 查看当前全局sqlite3的版本
[root@djangoServer ~]# sqlite3 --version
3.29.0 2019-07-10 17:32:03 fc82b73eaac8b36950e527f12c4b5dc1e147e6f4ad2217ae43ad82882a88bfa6

#将路径传递给共享库
# 设置开机自启动执行,可以将下面的export语句写入 ~/.bashrc 文件中,如果如果你想立即生效,可以执行source 〜/.bashrc 将在每次启动终端时执行
[root@djangoServer ~]# export LD_LIBRARY_PATH=/usr/local/sqlite/lib

最新文章

  1. ecshop随机分类
  2. 带后台服务配置的tomcat使用
  3. Sublime Text 3初阶
  4. c/c++与Python的语法差异
  5. 邻接表c源码(构造邻接矩阵,深度优先遍历,广度优先遍历,最小生成树prim,kruskal算法)
  6. MPI编程的常用接口速查
  7. 腾讯QQ群数据下载方法(7000万个qq群资料全泄漏)
  8. ajax向后台传值
  9. android图片处理方法(转)
  10. [Mugeda HTML5技术教程之12]制作跨屏互动应用
  11. 【转】int && 非常量右值
  12. jdom.jar导入问题
  13. NopCommerce(3.9)作业调度插件
  14. navicat为mysql建立索引
  15. Scala编程入门---函数过程,Lazy值和异常
  16. 【原】Java学习笔记019 - 面向对象
  17. 在MyEclipse中搭建spring-boot+mybatis+freemarker框架
  18. Web组件流畅拖动效果
  19. Abode Audition 的使用
  20. JS 获取css transform中的值

热门文章

  1. 2019 ICPC Asia Nanjing Regional
  2. HDOJ1232 畅通工程 DFS
  3. Codeforces Round #648 (Div. 2) C. Rotation Matching
  4. 【poj 2891】Strange Way to Express Integers(数论--拓展欧几里德 求解同余方程组 模版题)
  5. Codeforces Global Round 9 C. Element Extermination (思维,栈)
  6. CodeCraft-20 (Div. 2) B. String Modification (字符串,规律)
  7. 分布式一致性算法 2PC 3PC Paxos
  8. std::invoke_result的实现详解
  9. mysql+python+pymysql的一些细节问题
  10. Socket 编程简介