Skip to main content

Installation

Download

Download the latest release by selecting your operating system. No configuration is necessary to start using preq.

Terminal:

wget https://github.com/prequel-dev/preq/releases/download/v0.1.2/preq-0.1.2-linux-amd64.tar.gz

Browser:

Linux (amd64)

You can also view all available releases on Github.

Step 1: Unpack

tar -zxvf preq-0.1.2-linux-amd64.tar.gz

Example output

preq-0.1.2-linux_amd64/
preq-0.1.2-linux_amd64/LICENSE
preq-0.1.2-linux_amd64/preq
preq-0.1.2-linux_amd64/preq.sha256
preq-0.1.2-linux_amd64/preq.sig

Step 2: Install

Install preq to a location of your choosing. We recommend ~/local/bin.

This command is written for bash. If you're using another shell, adjust as needed.

bash
mkdir -p ~/local/bin && cp ./preq-0.1.2-linux_amd64/preq ~/local/bin/preq
echo 'export PATH="$PATH:$HOME/local/bin"' >> ~/.bashrc

Run preq to verify the correct version is installed.

This command is written for bash. If you're using another shell, adjust as needed.

bash
source ~/.bashrc && preq -v

Example output

preq 0.1.2 4b8f2eab0255686dad8b5d9ec7329024a5cbfb06 linux/amd64 2025-03-22

Learn more at https://docs.prequel.dev
Copyright 2025 Prequel Software, Inc. (https://prequel.dev)

Optional Step: Verify

All preq binaries and community rule package updates are hashed and signed.

To validate the sha256 hash:

echo "$(cat preq-0.1.2-linux_amd64/preq.sha256)  preq-0.1.2-linux_amd64/preq" | sha256sum -c -

Example output

preq-0.1.2-linux_amd64/preq: OK

To validate the ECDSA signature:

echo '-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAErSs//3w6Db08czHrMIZY7oElDU2h
X8sOUQNRtOaNSmYh3XiNogV6+WdQ5kuZkz2R9qiEHXbzqACzkMsKV8E9iw==
-----END PUBLIC KEY-----' > pubkey.pem
openssl dgst -sha256 -verify pubkey.pem -signature preq-0.1.2-linux_amd64/preq.sig preq-0.1.2-linux_amd64/preq

Example output

Verified OK