1.在sources.list中打开所有deb-src项
sudo vi /etc/apt/sources.list
2.更新源列表
sudo apt-get update
3.查询sqlite3源码
apt-cache showsrc sqlite3
4.下载sqlite3源码
apt-get source sqlite3
5.下载成功后,将得到以下文件
sqlite3-3.11.0
sqlite3_3.11.0-1ubuntu1.3.dsc
sqlite3_3.11.0.orig-www.tar.xz
sqlite3_3.11.0-1ubuntu1.3.debian.tar.xz
sqlite3_3.11.0.orig.tar.xz