I'm trying to install the latests versions of sqlite (> 3.7.5) under Centos 6.7.

So when I launch install command :

yum install sqlite

I get the following Message :

Package sqlite-3.6.20-1.el6_7.2.x86_64 already installed and latest version
Nothing to do

Question : How can I install the latest version of sqlite in Centos6.7?


2 Answers 2


I tried this locally just now and it's work, now I have sqlite3.10.0 installed on centos6.7 :

  1. Download last version of sqlite from : http://www.sqlite.org/download.html.

    Or on the server using : wget http://www.sqlite.org/2016/sqlite-autoconf-3100000.tar.gz.

  2. unzip it : tar xvfz sqlite-autoconf-3100000.tar.gz

  3. cd sqlite-autoconf-3100000

  4. ./configure

  5. make

  6. make install

  7. last step if you're using sqlite3 in php, you should recompile it.

Hope this will help you.

  • @GioMac Why "NEVER"? I've done configure, make, make install on thousands of machines and never had a problem.
    – jerzy
    Sep 21, 2017 at 8:11
  • @jerzy congratulations on doing things not right on thousands of machines :)
    – GioMac
    Sep 22, 2017 at 9:27
  • @GioMac You didn't answer the question. Why "NEVER"?
    – jerzy
    Sep 24, 2017 at 0:34
  • @jerzy because you break dependencies. packages exist not for easy installations, they ensure, that dependencies cannot be broken.
    – GioMac
    Sep 26, 2017 at 7:19
  • @GioMac How does running configure, make, or make install break dependencies?
    – jerzy
    Sep 27, 2017 at 6:53

Correct way will be to rebuild rpm with never version, but best way is to have it as separate package to maintain compatibility with old version: https://serverfault.com/a/399036/102979


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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