How to build and install LokiNet on Linux Mint 32-bit

published: 2020-04-11


  1. Install LokiNet’s build dependencies:

sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev libcurl4-openssl-dev pkg-config

  1. Clone the LokiNet Git repository:

git clone https://github.com/loki-project/loki-network; cd loki-network

git submodule update --init --recursive

  1. Edit the Makefile to force the correct libsodium to be used.

Open Makefile in your text editor of choice. Find the line that says DOWNLOAD_SODIUM. Change OFF to ON.

  1. Build and install LokiNet:

make sudo make install

  1. Bootstrap and run:

lokinet -g

lokinet-bootstrap

lokinet

If the LokiNet executable complains about not being able to set up network interfaces, run this command:

sudo setcap cap_net_admin,cap_net_bind_service=+eip /path/to/lokinet/executable


CC BY-NC-SA 4.0 © Vane Vander