Underworld

a long term geodynamics simulation platform

SQLite Download and Installation


What is SQLite?

SQLite is an SQL database engine software library used by the gLucifer Viewer. Further information about SQLite is available here.


Before you install SQLite

SQLite already come installed on some linux systems and with the developer tools on macs. If your system does not come with SQLite, You will need to download at least version 3.*.


Downloading and Installing SQLite Manually

These instructions apply to any Linux, Unix or Mac operating system.

Go here, and look for a file like sqlite-autoconf-3070700.tar.gz. Untar and unzip the downloaded file (if you are on a mac, this may be done for you):

tar zxvf sqlite-autoconf-3070700.tar.gz

Then navigate into the unzipped directory and type the following, where /usr/local/sqlite is the location in which you would like to install SQLite:

./configure --prefix=/usr/local/sqlite

and then type (root or administrator access may be required to install; if so, type "sudo make install" in place of the "make install" step):

make
make install


Downloading and Installing SQLite Using Macports (mac only)

Note: If you intend to use Macports packages to install the dependencies required by Underworld and gLucifer, we recommend you use Macports for all dependencies (except PETSc). This will avoid problems of confusion between Macports-installed and default system libraries suchas X11, which can cause run-time issues.

Type the following (from any directory, assuming you have MacPorts in your path):

port install sqlite3


Downloading and Installing SQLite Using Packages on Ubuntu/Debian Linux

On Ubuntu/Debian Linux, install the packages libsqlite3 and libsqlite3-dev.


-- Wendy Mason - 29 June 2011
-- Owen Kaluza - 29 June 2011