SQLite Forum

Compiling sqlite system on Ubuntu

I installed SQLite using APT, but the version is last year's.  I am trying to build sqlite 3.36.0, and I tried a few options, including this command,

sudo gcc shell.c sqlite3.c -lpthread -ldl -lm

but all I get is the a.out file. I am not getting what I want.  I know I am missing some options to get the .so libraries installed, as well as the sqlite3 tool, so, if anyone can help, I would greatly appreciated.

The last thing I did was was run ./configure and make, after downloading the sqlite-autoconf-3360000.tar.gz. And it appears as if everything goes well, but when I do 'which sqlite3', there is no output. Any help would be greatly appreciated. Thanks.