/go/installsqlite downloads the SQLite source release, compiles it, and installs it. It: The version is fixed in the script. The command installs that version, not whatever SQLite release is newest. See Changing the version. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
# Build and install SQLite 3.53.4
/go/installsqlite
Then check the result:
sqlite3 --version
Options
None. Any arguments you pass are written to the log file and otherwise ignored.
Examples
# Run the installer
/go/installsqlite
# Check the installed version
sqlite3 --version
# List every sqlite3 binary on the PATH (the build installs two copies)
which -a sqlite3
# Confirm the shell works
sqlite3 :memory: "select sqlite_version();"
# Review past runs
tail /var/log/go/installsqlite.log
# Remove the download and build folder afterwards
rm -rf /tmp/sqlite-src-3530400 /tmp/sqlite-src-3530400.zip
Output
The command doesn’t print a success message and doesn’t stop on errors: every step runs even if an earlier one failed. The exit status is that of the last command.
Expect the following on the screen:
| Stage | What you see |
|---|---|
| Download | Nothing. wget runs quietly, with one attempt and a 20-second timeout. |
| Unpack | The list of files extracted by unzip. |
| Build | The output of ./configure, make, and make install. |
| Stray URL line | An error such as No such file or directory near the start. It is harmless. See Limitations. |
Every run adds a line to /var/log/go/installsqlite.log:
[Nov 20 14:03:11]# installsqlite
Security
[!WARNING]
The download is made with--no-check-certificate, so the server’s TLS certificate isn’t verified, and the file is not checked against a published hash. On an untrusted network, someone could substitute the download. Compare the SHA3-256 hash of/tmp/sqlite-src-3530400.zipwith the value on the sqlite.org download page if the server’s integrity matters.
See the full reference at /go/installsqlite and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
