# Install sqlcipher with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

SQLite extension providing 256-bit AES encryption. Version 4.16.0 via Homebrew; verified 2026-05-12.

## Install

```sh
sudo av install brew:sqlcipher
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install sqlcipher
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sqlcipher
```

  Evidence: MacPorts ports tree: databases/sqlcipher/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add sqlcipher
```

  Evidence: Alpine Linux edge package indexes: sqlcipher from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libsqlcipher-dev
```

  Evidence: Debian stable package indexes: libsqlcipher-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install sqlcipher
```

  Evidence: Fedora Rawhide package metadata: sqlcipher from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#sqlcipher
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sq/sqlcipher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S sqlcipher
```

  Evidence: Arch Linux sync databases: sqlcipher from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libsqlcipher-3_46_1-0
```

  Evidence: openSUSE Tumbleweed package metadata: libsqlcipher-3_46_1-0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:sqlcipher
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/sqlcipher>
- **Version:** 4.16.0
- **Source summary:** SQLite extension providing 256-bit AES encryption
- **Homepage:** <https://www.zetetic.net/sqlcipher/>
- **Repository:** <https://github.com/sqlcipher/sqlcipher>
- **Upstream docs:** <https://www.zetetic.net/sqlcipher>
- **License:** BSD-3-Clause AND blessing
- **Source archive:** <https://github.com/sqlcipher/sqlcipher/archive/refs/tags/v4.16.0.tar.gz>
- **Last updated:** 2026-05-12T16:52:28Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- sqlcipher (cli)
- sqlcipher (alias)

## Dependencies

- openssl@4

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.16.0
- Package-manager updated: 2026-05-12
- Local data: ok
- Upstream repository: https://github.com/sqlcipher/sqlcipher
- Upstream latest detected: v4.16.0 (current)
## Project history and usage

SQLCipher is Zetetic's open source SQLite-derived database library and CLI that adds full-database encryption, including 256-bit AES encryption and key-management pragmas, while preserving much of the SQLite programming model.

### Project history

The public SQLCipher source repository dates to 2008. The project README describes SQLCipher as a standalone fork of SQLite that periodically integrates stable upstream SQLite features while minimizing changes to SQLite core code.

SQLCipher is maintained by Zetetic and is distributed in community, commercial, enterprise, and FIPS-oriented editions, with the open source community edition remaining the packaging target for many operating-system package managers.

### Adoption history

Zetetic describes SQLCipher as used in thousands of commercial and open source products and as a de facto standard for encrypted databases in mobile, embedded, and desktop applications. The input package metadata lists packages in Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, Nix, and openSUSE ecosystems.

### How it is used

Users commonly treat SQLCipher as an encrypted SQLite replacement: open a database with the SQLCipher shell or linked library, set PRAGMA key or call sqlite3_key early, and then use familiar SQLite operations against encrypted database files.

### Why package nerds care

Package nerds care about SQLCipher because it is both a security-sensitive C library and a drop-in-ish SQLite-flavored CLI. Distribution packaging matters: crypto provider linkage, ABI compatibility, and SQLite feature parity are all visible to downstream users.

### Timeline

- 2008: Public SQLCipher repository created.
- SQLCipher 4 era: README documents major-version compatibility changes and stronger default settings compared with SQLCipher 1.x through 3.x.
- 2026: Zetetic site describes community, commercial, enterprise, and FIPS distribution options.

### Related projects

- SQLCipher is directly related to SQLite and follows stable upstream SQLite releases. It is often compared with standard SQLite when applications need local storage with encryption at rest.

### Sources

- <https://api.github.com/repos/sqlcipher/sqlcipher>
- <https://github.com/sqlcipher/sqlcipher#readme>
- <https://www.zetetic.net/sqlcipher/>
- <https://www.zetetic.net/sqlcipher/documentation/>
- input.source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for sqlcipher. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sqlcipher
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libsqlcipher-dev - 4.6.1-2: normalized package name match | Debian stable package indexes: libsqlcipher-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SQLCipher development files | http://sqlcipher.net/
- Debian apt - libsqlcipher1 - 4.6.1-2: normalized package name match | Debian stable package indexes: libsqlcipher1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SQLCipher shared library | http://sqlcipher.net/
- Debian apt - sqlcipher - 4.6.1-2: normalized package name match | Debian stable package indexes: sqlcipher from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command line interface for SQLCipher | http://sqlcipher.net/
- Nix - sqlcipher: normalized package name match | nixpkgs package indexes: pkgs/by-name/sq/sqlcipher/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsqlcipher-dev - 4.5.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsqlcipher-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SQLCipher development files | http://sqlcipher.net/
- Ubuntu apt - libsqlcipher1 - 4.5.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libsqlcipher1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SQLCipher shared library | http://sqlcipher.net/
- Ubuntu apt - sqlcipher - 4.5.6-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: sqlcipher from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command line interface for SQLCipher | http://sqlcipher.net/
- apk - sqlcipher - 4.6.1-r1: normalized package name match | Alpine Linux edge package indexes: sqlcipher from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files. | https://www.zetetic.net/sqlcipher/
- apk - sqlcipher-dbg - 4.6.1-r1: normalized package name match | Alpine Linux edge package indexes: sqlcipher-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files. (debug symbols) | https://www.zetetic.net/sqlcipher/
- apk - sqlcipher-dev - 4.6.1-r1: normalized package name match | Alpine Linux edge package indexes: sqlcipher-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files. (development files) | https://www.zetetic.net/sqlcipher/
- apk - sqlcipher-doc - 4.6.1-r1: normalized package name match | Alpine Linux edge package indexes: sqlcipher-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files. (documentation) | https://www.zetetic.net/sqlcipher/
- apk - sqlcipher-libs - 4.6.1-r1: normalized package name match | Alpine Linux edge package indexes: sqlcipher-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SQLCipher is an SQLite extension that provides 256 bit AES encryption of database files. (libraries) | https://www.zetetic.net/sqlcipher/
- apk - sqlcipher-tcl - 4.6.1-r1: normalized package name match | Alpine Linux edge package indexes: sqlcipher-tcl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SQLCipher library (tcl bindings) | https://www.zetetic.net/sqlcipher/
- dnf - sqlcipher - 4.5.2-8.fc44: normalized package name match | Fedora Rawhide package metadata: sqlcipher from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Fork of the SQLite database library that adds 256 bit AES encryption | https://github.com/sqlcipher/sqlcipher
- dnf - sqlcipher-devel - 4.5.2-8.fc44: normalized package name match | Fedora Rawhide package metadata: sqlcipher-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for sqlcipher | https://github.com/sqlcipher/sqlcipher
- pacman - sqlcipher - 4.14.0-1: normalized package name match | Arch Linux sync databases: sqlcipher from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | SQLite extension that provides transparent 256-bit AES encryption of database files | https://www.zetetic.net/sqlcipher


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [openssl@4](https://www.automicvault.com/pkg/brew/openssl-4/) - Runtime dependency declared by Homebrew.
- [nettle](https://www.automicvault.com/pkg/brew/nettle/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [botan](https://www.automicvault.com/pkg/brew/botan/) - Shares av.db curated category or tags: cli, cryptography, security.
- [ccrypt](https://www.automicvault.com/pkg/brew/ccrypt/) - Shares av.db curated category or tags: cli, cryptography, encryption, security.
- [gnutls](https://www.automicvault.com/pkg/brew/gnutls/) - Shares av.db curated category or tags: cli, cryptography, security.
- [nss](https://www.automicvault.com/pkg/brew/nss/) - Shares av.db curated category or tags: cli, cryptography, security.
- [opensc](https://www.automicvault.com/pkg/brew/opensc/) - Shares av.db curated category or tags: cli, cryptography, security.
- [rnp](https://www.automicvault.com/pkg/brew/rnp/) - Shares av.db curated category or tags: cli, cryptography, security.
- [softhsm](https://www.automicvault.com/pkg/brew/softhsm/) - Shares av.db curated category or tags: cli, cryptography, security.
- [jose](https://www.automicvault.com/pkg/brew/jose/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, encryption, openssl, openssl-4.
- [scrypt](https://www.automicvault.com/pkg/brew/scrypt/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, cryptography, encryption, openssl, openssl-4.
- [encfs](https://www.automicvault.com/pkg/brew/encfs/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, encryption, openssl, openssl-4, security.

## Combined YAML source

View the package source record on GitHub. [combined/sqlcipher.yml](https://github.com/automic-vault/db/blob/main/combined/sqlcipher.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
