Skip to content

DOCS / INSTALL

Installation

Prerequisites

enprot requires two system libraries:

  • Botan 3 — the cryptographic backend (AES, SHA-3, Ed25519, ML-DSA, Argon2)
  • librnp — OpenPGP signature support via rnp-rs

macOS

brew install botan rnp
# If rnp conflicts: brew link --overwrite rnp

Linux (Ubuntu/Debian)

# enprot's ci/install.sh builds both from source
sudo apt-get install cmake libjson-c-dev zlib1g-dev libbz2-dev
./ci/install.sh

Windows (MSVC)

The CI script ci/install.ps1 builds the full C dependency stack (bzip2, zlib, Botan, json-c, librnp) from source:

.\ci\install.ps1

Install enprot

From crates.io

cargo install enprot

From source

cargo install --git https://github.com/engyon/enprot

Prebuilt binaries

Download from GitHub Releases for:

  • x86_64-unknown-linux-musl — fully static, no runtime deps
  • x86_64-apple-darwin and aarch64-apple-darwin — universal macOS
  • x86_64-pc-windows-msvc — Windows MSVC

Verify installation

enprot --version
enprot 0.5.10

Shell completions

# Bash
enprot completions bash > /etc/bash_completion.d/enprot

# Fish
enprot completions fish > ~/.config/fish/completions/enprot.fish

# Zsh
enprot completions zsh > /usr/local/share/zsh/site-functions/_enprot

Next steps