How to build and install LokiNet on Linux Mint 32-bit
published: 2020-04-11
- Install LokiNet’s build dependencies:
sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev libcurl4-openssl-dev pkg-config
- Clone the LokiNet Git repository:
git clone https://github.com/loki-project/loki-network; cd loki-network
git submodule update --init --recursive
- 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
.
- Build and install LokiNet:
make
sudo make install
- 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