How to upgrade/update the sqlite3 version on your Mac

First check to see which version of sqlite3 you want to upgrade to and figure out what the URL for the tar ball is. In this example, I want to upgrade to version 3.6.18
Visit SQLite3 Download Page
Here is one way to do it:

mkdir ~/src
cd ~/src
curl http://www.sqlite.org/sqlite-3.6.18.tar.gz | tar xvfz
cd sqlite-3.6.18
autoconf
./configure –prefix=/usr/local
make
sudo make install

# check what version of SQLite is installed
sqlite3 –version
# 3.6.18

which sqlite3
# /usr/local/bin/sqlite3

VN:F [1.9.2_1090]
Rating: 4.0/5 (1 vote cast)
VN:F [1.9.2_1090]
Rating: -1 (from 1 vote)
How to upgrade/update the sqlite3 version on your Mac, 4.0 out of 5 based on 1 rating

One Comment to “How to upgrade/update the sqlite3 version on your Mac”

  1. rahulvyas 20 February 2010 at 12:45 am #

    I am getting this error

    curl: (6) Couldn’t resolve host ‘www.sqlite.org’

    gzip: stdin: unexpected end of file
    tar: Child returned status 1
    tar: Error exit delayed from previous errors
    admins-mac-pro:src admin$

    VA:F [1.9.2_1090]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.2_1090]
    Rating: 0 (from 0 votes)

Leave a Reply