Ubuntu
In order to build on Ubuntu, you will need to enable to universe repository to be able to install autoconf-archive.
sudo add-apt-repository universe sudo apt-get update sudo apt install pkg-config libsodium-dev autoconf-archive git libssl-dev build-essential
Once the requirements are installed, get the source code and build it
git clone https://github.com/cjdelisle/PacketCrypt cd PacketCrypt ./autogen.sh ./configure make npm install
Alpine Linux
Make sure you have the community repository enabled.
sudo apk update sudo apk add nodejs npm autoconf automake autoconf-archive build-base git libsodium-dev openssl-dev
Once the requirements are installed, get the source code and build it
git clone https://github.com/cjdelisle/PacketCrypt cd PacketCrypt ./autogen.sh ./configure make npm install
Apple OSX
Make sure you have homebrew installed first.
brew install libsodium pkg-config autoconf-archive openssl
Once the requirements are installed, get the source code and build it
git clone https://github.com/cjdelisle/PacketCrypt cd PacketCrypt ./autogen.sh export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`echo /usr/local/Cellar/libsodium/*/lib/pkgconfig`" export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`echo /usr/local/Cellar/openssl/*/lib/pkgconfig/`" ./configure make npm install
Once you’ve completed building PacketCrypt, you can begin mining. 더 알아보기