1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY sqlite-download-http "http://sqlite.org/sqlite-amalgamation-&sqlite-version;.tar.gz">
|
---|
8 | <!ENTITY sqlite-download-ftp " ">
|
---|
9 | <!ENTITY sqlite-md5sum "b683b3903e79ab8a6d928dc9d4a56937">
|
---|
10 | <!ENTITY sqlite-size "1.4 MB">
|
---|
11 | <!ENTITY sqlite-buildsize "27 MB (includes optional documentation)">
|
---|
12 | <!ENTITY sqlite-time "0.5 SBU">
|
---|
13 |
|
---|
14 | <!ENTITY sqlite-docs-version "3_6_22">
|
---|
15 | <!ENTITY sqlite-docs-download "http://sqlite.org/sqlite_docs_&sqlite-docs-version;.zip">
|
---|
16 | ]>
|
---|
17 |
|
---|
18 | <sect1 id="sqlite" xreflabel="SQLite-&sqlite-version;">
|
---|
19 | <?dbhtml filename="sqlite.html"?>
|
---|
20 |
|
---|
21 | <sect1info>
|
---|
22 | <othername>$LastChangedBy$</othername>
|
---|
23 | <date>$Date$</date>
|
---|
24 | </sect1info>
|
---|
25 |
|
---|
26 | <title>SQLite-&sqlite-version;</title>
|
---|
27 |
|
---|
28 | <indexterm zone="sqlite">
|
---|
29 | <primary sortas="a-SQLite">SQLite</primary>
|
---|
30 | </indexterm>
|
---|
31 |
|
---|
32 | <sect2 role="package">
|
---|
33 | <title>Introduction to SQLite</title>
|
---|
34 |
|
---|
35 | <para>The <application>SQLite</application> package is a software
|
---|
36 | library that implements a self-contained, serverless,
|
---|
37 | zero-configuration, transactional SQL database engine.</para>
|
---|
38 |
|
---|
39 | &lfs65_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>Download (HTTP): <ulink url="&sqlite-download-http;"/></para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>Download (FTP): <ulink url="&sqlite-download-ftp;"/></para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>Download MD5 sum: &sqlite-md5sum;</para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>Download size: &sqlite-size;</para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>Estimated disk space required: &sqlite-buildsize;</para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>Estimated build time: &sqlite-time;</para>
|
---|
60 | </listitem>
|
---|
61 | </itemizedlist>
|
---|
62 |
|
---|
63 | <!-- <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
64 | <para role="optional"><xref linkend="tcl"/> (Required to run the test suite)</para> -->
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Optional Documentation</bridgehead>
|
---|
67 | <para role="optional"><ulink url="&sqlite-docs-download;"/></para>
|
---|
68 |
|
---|
69 | <para condition="html" role="usernotes">User Notes:
|
---|
70 | <ulink url="&blfs-wiki;/sqlite"/></para>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2 role="installation">
|
---|
75 | <title>Installation of SQLite</title>
|
---|
76 |
|
---|
77 | <para>If you downloaded the optional documentation, issue the following
|
---|
78 | command to install the documentation into the source tree:</para>
|
---|
79 |
|
---|
80 | <screen><userinput>unzip -q ../sqlite_docs_&sqlite-docs-version;.zip</userinput></screen>
|
---|
81 |
|
---|
82 | <para>Install <application>SQLite</application> by running the following
|
---|
83 | commands:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>./configure --prefix=/usr --enable-threadsafe &&
|
---|
86 | make</userinput></screen>
|
---|
87 |
|
---|
88 | <para>To test the results, issue: <command>make test</command>.</para>
|
---|
89 |
|
---|
90 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
91 |
|
---|
92 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
93 |
|
---|
94 | <para>If you downloaded the optional documentation, issue the following
|
---|
95 | commands as the <systemitem class="username">root</systemitem> user to
|
---|
96 | install it:</para>
|
---|
97 |
|
---|
98 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &
|
---|
99 | cp -v -R sqlite-&sqlite-docs-version;-docs/* \
|
---|
100 | /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
|
---|
101 |
|
---|
102 | </sect2>
|
---|
103 |
|
---|
104 | <sect2 role="commands">
|
---|
105 | <title>Command Explanations</title>
|
---|
106 |
|
---|
107 | <para><parameter>--enable-threadsafe</parameter>: Though the documentation
|
---|
108 | and running <command>./configure --help</command> indicate that this is the
|
---|
109 | default, it is not. You must add this parameter if you want a threadsafe
|
---|
110 | library.</para>
|
---|
111 |
|
---|
112 | </sect2>
|
---|
113 |
|
---|
114 | <sect2 role="content">
|
---|
115 | <title>Contents</title>
|
---|
116 |
|
---|
117 | <segmentedlist>
|
---|
118 | <segtitle>Installed Program</segtitle>
|
---|
119 | <segtitle>Installed Library</segtitle>
|
---|
120 | <segtitle>Installed Directories</segtitle>
|
---|
121 |
|
---|
122 | <seglistitem>
|
---|
123 | <seg>sqlite3</seg>
|
---|
124 | <seg>libsqlite3.{so,a}</seg>
|
---|
125 | <seg>None</seg>
|
---|
126 | </seglistitem>
|
---|
127 | </segmentedlist>
|
---|
128 |
|
---|
129 | <variablelist>
|
---|
130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
131 | <?dbfo list-presentation="list"?>
|
---|
132 | <?dbhtml list-presentation="table"?>
|
---|
133 |
|
---|
134 | <varlistentry id="sqlite3">
|
---|
135 | <term><command>sqlite3</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>A terminal-based front-end to the <application>SQLite
|
---|
138 | </application> library that can evaluate queries interactively
|
---|
139 | and display the results.</para>
|
---|
140 | <indexterm zone="sqlite sqlite3">
|
---|
141 | <primary sortas="b-sqlite3">sqlite3</primary>
|
---|
142 | </indexterm>
|
---|
143 | </listitem>
|
---|
144 | </varlistentry>
|
---|
145 |
|
---|
146 | <varlistentry id="libsqlite3">
|
---|
147 | <term><filename class='libraryfile'>libsqlite3.{so,a}</filename></term>
|
---|
148 | <listitem>
|
---|
149 | <para>Contains the <application>SQLite</application> API functions.</para>
|
---|
150 | <indexterm zone="sqlite libsqlite3">
|
---|
151 | <primary sortas="c-libsqlite3">libsqlite3.{so,a}</primary>
|
---|
152 | </indexterm>
|
---|
153 | </listitem>
|
---|
154 | </varlistentry>
|
---|
155 |
|
---|
156 | </variablelist>
|
---|
157 |
|
---|
158 | </sect2>
|
---|
159 |
|
---|
160 | </sect1>
|
---|