sqlite - 如何将 Ubuntu 18.04 sqlite3 从 3.13 升级到新版本 3.25
问题描述
我按照这篇文章(系统安装部分)将 Ubuntu 18.04 sqlite 3.13 升级到 sqlite 3.25。Ubuntu从14升级到18,3年前安装了sqlite。
http://charlesleifer.com/blog/compiling-sqlite-for-use-with-python-applications/
所有步骤都成功了,但是 sqlite 还是老版本 3.13。
Python 3.6.0 |Anaconda 4.3.1 (64-bit)| (default, Dec 23 2016, 12:22:00)
GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlite3
>>> sqlite3.sqlite_version
'3.13.0'
它应该是?
'3.25.0'
我还尝试使用本文中的命令删除 sqlite 3.13 并重新安装:
https://www.thelinuxfaq.com/ubuntu/ubuntu-17-04-zesty-zapus/sqlite3?type=uninstall
它不能被删除。尝试了所有删除命令,如下所示,sqlite3 仍然处于活动状态:
sudo apt-get autoremove --purge sqlite3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'sqlite3' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
fake@fakedesktop1:~$ sqlite3 --version
3.13.0 2016-05-18 10:57:30 fc49f556e48970561d7ab6a2f24fdd7d9eb81ff2
我想知道如何将 sqlite3 升级到新版本 3.25。我的步骤有什么问题?
解决方案
推荐阅读
- c++ - 将二维数组传递给大小是变量的函数
- url - JMeter v.5+ - 如何在 JMeter v5.2.1 中更改检索到的嵌入式资源格式以获取完整的 url?
- javascript - 使用 useState 和 prev 状态更新状态的问题
- android - 每 X 小时在后台运行一个任务并监听事件
- javascript - Outlook 的 nodemailer 出现意外的套接字关闭错误
- google-kubernetes-engine - 如何使用 api 运行 gcloud 容器命令
- reactjs - react-hooks-forms 和默认选中的单选按钮
- r - R复制行并用重复的ID划分值
- http - Flutter HTTP 插件
- azure - Azure Active Directory 集成错误给定的键“app_link”在 Xamarin Forms 的字典中不存在