Ubuntu – sqlite installation


I'm installing sqlite like this SQLite – Installation

I get this error, anyone know what to do?

anonymous@Anonymous:~/sqlite-autoconf-3080001$ make install
make[1]: Entering directory `/home/anonymous/sqlite-autoconf-3080001'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsqlite3.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libsqlite3.so.0.8.6 /usr/local/lib/libsqlite3.so.0.8.6
/usr/bin/install: cannot create regular file `/usr/local/lib/libsqlite3.so.0.8.6': Permission denied
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory `/home/anonymous/sqlite-autoconf-3080001'
make: *** [install-am] Error 2

Sorry I don't know the proper way of putting it in

Best Answer

It should be

sudo make install

You could install it through the repo's

sudo apt-get install sqlite3 libsqlite3-dev