아마 이미 깔려 있어
SQLite 는 macOS, 대부분의 Linux 배포판, 모든 Python 설치본에 같이 와. Windows 도 Windows 10 부터 C runtime 의 일부로 같이 와. 이 quest 따라가는 데 별도 설치 안 해도 될 거야.
다만 시스템 거보다 최신 SQLite 를 원할 수도 있어. macOS 가 특히 Apple 큐레이팅된 옛날 빌드 (2026 기준 3.43) 를 깔아주는데, 업스트림은 3.53+ 야. 최신 버전이 STRICT 테이블, JSONB, FTS5 trigram, 최근 성능 작업에 중요해.
- macOS —
brew install sqlite가 업스트림을/opt/homebrew/opt/sqlite/bin/sqlite3에 설치. PATH 추가하거나 직접 호출. - Ubuntu / Debian —
sudo apt install sqlite3 libsqlite3-dev. - Fedora / RHEL —
sudo dnf install sqlite sqlite-devel. - Windows — sqlite.org 의 Precompiled Binaries zip 다운받아서 PATH 추가, 또는
winget install SQLite.SQLite. - Python 번들 SQLite —
python -c 'import sqlite3; print(sqlite3.sqlite_version)'. 업그레이드하려면 보통 newer libsqlite 로 Python 재빌드, 또는pysqlite3-binary사용.
Tip: CLI 에선 되는데 Python 에선 안 되는 (혹은 그 반대) 일이 생기면 양쪽 버전부터 확인:
sqlite3 --version + python -c 'import sqlite3; print(sqlite3.sqlite_version)'. 자주 다름 — STRICT, JSONB, 여러 PRAGMA 가 특정 버전에 들어왔어.