Installing SQLite on Linux

Home / Installing SQLite on Linux

Installing SQLite on Linux

December 9, 2015 | Article | 3 Comments

SQLite is an in-process library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. The code for SQLite is in the public domain and is thus free for use for any purpose, commercial or private. SQLite is currently found in more applications than we can count, including several high-profile projects.Unlike most other SQL databases, SQLite is and embedded SQL database engine. It does not have separate server process.SQLite reads and writes directly to ordinary disk files. All power of database is contained in a single disk file. The file format is cross-platform which can be adopted to 32-bit and 64-bit systems or between big-endian and little-endian architectures. SQLite is not as a replacement for complex database, but as replacement for fopen() primitive.

In this article we will discuss about installing SQLite in Linux. For this purpose I use Slackware64 14.0 as test machine. However, it can also be installed to other Linux distribution than Slackware. The method we use will be source installation.

Obtain the Materials

SQLite latest version is 3.7.17. Download the source code from SQLite’s main download page. The one we use in this article is this. Later we will refer this as SQLite archive.


Assuming we have downloaded the SQLite archive (sqlite-autoconf-30717.tar.gz):

tar xvfz sqlite-autoconf-3070717.tar.gz
cd sqlite-autoconf-3070717
make install

Note that to do installation, you should have enough privilege.

At this point we have installed the SQLite.  The default installation would take /usr/local as prefix, thus the header will be located on /usr/local/include and the library will be at /usr/local/lib as well.

To explore / interact with SQLite for first time, see this article.

About Author

about author


A man who is obsessed to low level technology.

  1. First Interaction with SQLite - Xathrya.ID

    […] previous article we have discussed about how to install SQLite. Whether you have installed it for Linux, Windows, or Mac OS X, there should be a working SQLite. If you don’t have it yet, please […]

  2. SQLite Manager on Mozilla Firefox - Xathrya.ID

    […] read related article first. You can read specific instruction on how to install SQLite for your OS (Linux, Windows, or Mac OS […]

  3. Install Darktable from Source - Xathrya.ID

    […] libsqlite3 […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Social Share Buttons and Icons powered by Ultimatelysocial