Skip to content

Instantly share code, notes, and snippets.

@timjb
Last active July 6, 2021 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timjb/019a89901d0eb1583d1576b47d72d772 to your computer and use it in GitHub Desktop.
Save timjb/019a89901d0eb1583d1576b47d72d772 to your computer and use it in GitHub Desktop.
Installing Pijul on macOS

Installing Pijul on macOS

Prerequisites

$ brew install openssl libssh
$ export LIBRARY_PATH=/usr/local/lib OPENSSL_LIB_DIR=/usr/local/opt/openssl/lib OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include DEP_OPENSSL_INCLUDE=/usr/local/opt/openssl/include

Installing from crates.io

$ cargo install pijul

Building from source

$ darcs clone https://pijul.org
$ darcs clone http://pijul.org/sanakirja
$ ln -s $(pwd)/sanakirja pijul.org/libpijul/src/sanakirja
$ cd pijul.org
$ ln -s $(pwd)/libpijul pijul/src/libpijul
$ cargo install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment