This page provides a practical baseline setup for SQLite on Linux hosts. SQLite 3.51.2 is the latest version as of January 2026.
sudo apt update
sudo apt install -y sqlite3 libsqlite3-dev
# For RHEL/CentOS Stream 9+
sudo dnf install -y sqlite sqlite-devel
# For older versions
sudo yum install -y sqlite sqlite-devel
apk add --no-cache sqlite sqlite-dev
zypper install sqlite3 sqlite3-devel
Check your installed version to ensure you have the latest:
sqlite3 --version
Expected output format: 3.51.2 2026-01-09 ... (or similar for your version)
For applications that compile against SQLite:
# Debian/Ubuntu
sudo apt install -y libsqlite3-dev
# RHEL-family
sudo dnf install -y sqlite-devel
# Alpine
apk add --no-cache sqlite-dev