Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I try to run sudo apt-cache showpkg sqlite3, I only get the version 3.4.2. I need later than that to compile the sqlite3-ruby gem, and I can't make from source files (even with a ./configure --prefix=/usr/bin, then a make, then a sudo make install.

Is there a guide or a way to manually apt-get remove sqlite3 and compile the latest source (, as found here for Ubuntu) so I can get sqlite3 -version up above 3.4.2?!

I've been hunting all around the web, to no avail.

share|improve this question

migrated from May 31 '11 at 18:55

This question came from our site for system and network administrators.

which version of ubuntu are you using? the later versions of ubuntu support upto 3.7.4 - ubuntu natty – freethinker May 28 '11 at 0:48
Ubuntu 8.04 LTS – dmanexe May 31 '11 at 17:32
you have a similar question here - why the bounty on this question?… – fossfreedom Jun 1 '11 at 20:39
Does anybody know a SQLite 3.7.11 PPA for Ubuntu 11.10 and 12.04? – Ivan Apr 6 '12 at 4:45
up vote 2 down vote accepted

There is an untrusted PPA here with version 3.5.9 of SQLite.

Note - as all PPAs - they are not from canonical so I cant vouch for their authenticity.

However his stable PPA comment is

"To give you a bit of confidence in this PPA, I'd like to point out that I'm an official Debian Maintainer with upload rights to the Debian distribution itself."

share|improve this answer
Quite a reliable comment! Saw this, years later. – dmanexe Jan 15 '14 at 18:49

The sqlite version 3.4.2 can be found here along with its dependencies and package versions (amd64, i386, etc..)

To install just go to the page and download the package that is for your arquitecture.
then just dkpg -i PACKAGE.deb.

for the dependencies (If it gives you any problem about them) do the same. Download from the page and dpkg them until all dependencies are installed. Then install the sqlite 3.4.2 package.

Will that help?

share|improve this answer

I'm on Ubuntu 12.04, simply downloaded the latest sqlite3 binary from and sudo cp ~/Downloads/sqlite3 /usr/bin/sqlite3 and I was all set.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.