1
0
Fork 0
mayvaneday/tutorials/lokinet-32.html

51 lines
2 KiB
HTML
Raw Normal View History

2021-11-13 03:02:11 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>How to build and install LokiNet on Linux Mint 32-bit - Archive - MayVaneDay Studios</title>
<link href="../style.css" rel="stylesheet" type="text/css" media="all">
<meta name="author" content="Vane Vander">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body class="mayvaneday">
<article>
<div class="box">
<p><h1>How to build and install LokiNet on Linux Mint 32-bit</h1></p>
<p>published: 2020-04-11</p>
</div>
<hr>
<div class="box">
<ol type="1">
<li>Install LokiNets build dependencies:</li>
</ol>
<p><code>sudo apt install build-essential cmake git libcap-dev curl libuv1-dev libsodium-dev libcurl4-openssl-dev pkg-config</code></p>
<ol start="2" type="1">
<li>Clone the LokiNet Git repository:</li>
</ol>
<p><code>git clone https://github.com/loki-project/loki-network; cd loki-network</code></p>
<p><code>git submodule update --init --recursive</code></p>
<ol start="3" type="1">
<li>Edit the Makefile to force the correct libsodium to be used.</li>
</ol>
<p>Open <code>Makefile</code> in your text editor of choice. Find the line that says <code>DOWNLOAD_SODIUM</code>. Change <code>OFF</code> to <code>ON</code>.</p>
<ol start="4" type="1">
<li>Build and install LokiNet:</li>
</ol>
<p><code>make</code> <code>sudo make install</code></p>
<ol start="5" type="1">
<li>Bootstrap and run:</li>
</ol>
<p><code>lokinet -g</code></p>
<p><code>lokinet-bootstrap</code></p>
<p><code>lokinet</code></p>
<p>If the LokiNet executable complains about not being able to set up network interfaces, run this command:</p>
<p><code>sudo setcap cap_net_admin,cap_net_bind_service=+eip /path/to/lokinet/executable</code></p>
</div>
<hr>
<div class="box">
<p align=right>CC BY-NC-SA 4.0 &copy; Vane Vander</p>
</div>
</article>
</body>
</html>