出处:http://www.linuxdiyf.com/bbs/archiver/tid-69089.html
sqlite for linux 安装
下载 sqlite-3.3.5.tar.gz
解压并拷贝至你想要安装到的目录下,我选择的是/usr/local/sqlite-3.3.5
接着在终端里:
# cd /usr/local/sqlite-3.3.5
# ./configure
# make
# make install
# make doc
make的时候提示错误
../sqlite-3.3.5/src/tclsqlite.c: In function `DbUpdateHandler':
../sqlite-3.3.5/src/tclsqlite.c:333: warning: passing arg 3 of `Tcl_ListObjAppendElement' makes pointer from integer without a cast
../sqlite-3.3.5/src/tclsqlite.c: In function `tclSqlFunc':
../sqlite-3.3.5/src/tclsqlite.c:419: warning: passing arg 1 of `Tcl_NewByteArrayObj' discards qualifiers from pointer target type
这个都是tcl相关的错误,可以先安装ActiveTcl以解决.假如你不需要tcl支持,那么这个错误可以这样避免:
# ./configure --disable-tcl --prefix=/usr/local/sqlite-3.3.5
# make 如果提示没有可以编译的文件,则是第一次make时已经执行过了,接着下面做就可以了;如果此次是第一次编译,应该不会再提示出错了
# make install
# make doc
测试是否安装成功
# cd /usr/lcoal/sqlite3.3.5
# ./sqlite3 text.db
如果安装成功,会出现下面这样的信息
SQLite version 3.3.5
Enter ".help" for instructions
sqlite>
接下来就可以自由操作啦,和在windows下是一样的啦。
分享到:
相关推荐
SQLite是一个小巧、快速、可嵌入式的SQL数据库引擎,支持SQL92,同时支持跨平台系统。
SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作...
在 Linux 上安装 SQLite,验证方式,在终端执行sqlite3出现 SQLite version ******* Enter ".help" for instructions Enter SQL statements terminated with a ";" sqlite> 安装成功
Arm Linux平台下,sqlite数据库的全部文件,包括源代码、库文件。可直接在arm+linux中使用
Compile SQLite using the cross-compiler such as arm-linux-gcc first, get sqlite-3.3.6.tar.gz from www.sqlite.org unzip it, #tar -zxvf sqlite-3.3.6.tar.gz change into the sqlite-3.3.6 directory cd ...
基于sqlite-amalgamation-3280000和wxsqlite3-3.3.1重编译版本,支持Sqlite3_key和Sqlite3_rekey方法
因为SQLite是完全开源的,本资料大部分是本人自己根据实际需求情况整理的,有少部分是从网上Down下来做为参考资料的,实用Window(XP、win7、win8)、WinCE、Linux、ARM平台,64位编译雷同
SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作...
sqlite.SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的...
目前最好用的嵌入式数据库,手机安桌系统也是用的此数据库,嵌入式开发的好帮手
c#中使用Sqlite数据库,让你轻松使用Sqlite SQLite,是一款轻型的数据库,是遵守ACID的关系型数据库管理系统,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式...
apche与sqlite网上有不少资料,而php for arm-linux很少.为了在arm平台上安装php花了不少 时间.所以将搭建过程发表在此,希望对大家有所帮助.
DISQLite3 implements a self-contained, embeddable, zero-configuration SQL database engine for ...Database files created with DISQLite3 can also be accessed by Linux and MacOS using the SQLite3 libraries.
嵌入式sqlite for arm版,在LINUX下已经交叉编译完成。可以直接使用。
windows下远程linux工具-包含PuTTY和WinSCP,其中PuTTY作为远程命令行终端,可远程ssh连接到linux服务器,二winscp就可以解决文件从windows和linux之间互相拷贝的问题,enjoy!
SQLite3.8.5源码,官网说明:A tarball containing the amalgamation for SQLite 3.8.5 together with an configure script and makefile for building it. This tarball also contains in the "tea" subdirectory a...
SQLite3.8.5源码,官网说明:This ZIP archive contains all C source code for SQLite 3.8.5 combined into a single source file (the amalgamation). (sha1: fd65e80aa04b9c02d6a7154f513b10e0a5d29150)
SQLite是一款轻型的数据库,它的设计目标是嵌入式的,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持
安装方法: 1、下载后解码. 2、参考解码根目录下的...1、安装依赖库,如apr, sqlite等,自己根据需要安装 $ sudo apt-get install libapr1-dev libaprutil1-dev sqlite3 2、$ ./configure 3、$ make && make install