Install sqlite latest version on Centos6.7

centos6installationsqliteyum

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?

Thanks.

Best Answer

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.

Related Topic