aboutsummaryrefslogtreecommitdiff
path: root/template/install-on-archpi.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'template/install-on-archpi.html.j2')
-rw-r--r--template/install-on-archpi.html.j236
1 files changed, 19 insertions, 17 deletions
diff --git a/template/install-on-archpi.html.j2 b/template/install-on-archpi.html.j2
index 37657188..66e904b2 100644
--- a/template/install-on-archpi.html.j2
+++ b/template/install-on-archpi.html.j2
@@ -16,8 +16,8 @@
16 <h2>{{ _("Requirements for Raspberry Pi 3") }}</h2> 16 <h2>{{ _("Requirements for Raspberry Pi 3") }}</h2>
17 17
18 <p>First you need the hardware. This tutorial works with a Raspberry Pi 3 or 18 <p>First you need the hardware. This tutorial works with a Raspberry Pi 3 or
19 any Arch Linux system. The other Pi versions I haven't tested, but they should 19 any Arch Linux system. The other Pi versions have not been tested, but they
20 probably work, too. To install Arch Linux on the Pi3, follow the instructions 20 should work, too. To install Arch Linux on the Pi3, follow the instructions
21 from <a 21 from <a
22 href="https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3">archlinuxarm.org</a>.</p> 22 href="https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3">archlinuxarm.org</a>.</p>
23 23
@@ -25,7 +25,7 @@
25 install the tools for building new software.</p> 25 install the tools for building new software.</p>
26 26
27 <p><code> 27 <p><code>
28 > sudo pacman -S base-devel 28 $ sudo pacman -S base-devel
29 </code></p> 29 </code></p>
30 30
31 <p>Now we can continue to install the following Arch Linux dependencies to 31 <p>Now we can continue to install the following Arch Linux dependencies to
@@ -43,18 +43,18 @@
43 in the next step:<p> 43 in the next step:<p>
44 44
45 <p><code> 45 <p><code>
46 > git clone https://gnunet.org/git/gnunet.git<br> 46 $ git clone https://gnunet.org/git/gnunet.git<br>
47 </code></p> 47 </code></p>
48 48
49 <p>Now it's time to compile and install GNUnet.</p> 49 <p>Now it's time to compile and install GNUnet.</p>
50 50
51 <p><code> 51 <p><code>
52 > cd gnunet<br> 52 $ cd gnunet<br>
53 > export GNUNET_PREFIX=/usr # for example, other locations possible<br> 53 $ export GNUNET_PREFIX=/usr/local # for example, other locations possible<br>
54 > ./bootstrap # Run this to generate the configure files.<br> 54 $ ./bootstrap # Run this to generate the configure files.<br>
55 > ./configure --prefix=$GNUNET_PREFIX --disable-documentation # Use --help to see the various flags available to you.<br> 55 $ ./configure --prefix=$GNUNET_PREFIX # Use --help to see the various flags available to you.<br>
56 > make -j$(nproc || echo -n 1)<br> 56 $ make -j$(nproc || echo -n 1)<br>
57 > sudo make install<br> 57 $ sudo make install<br>
58 </code></p> 58 </code></p>
59 59
60 <p>Congrats! GNUnet is now installed!</p> 60 <p>Congrats! GNUnet is now installed!</p>
@@ -66,14 +66,16 @@
66 <p><code> 66 <p><code>
67 $ pacman -Su gtk3 glade 67 $ pacman -Su gtk3 glade
68 </code></p> 68 </code></p>
69 <p><code>
70 $ git clone https://gnunet.org/git/gnunet-gtk.git<br>
71 </code></p>
69 <code> 72 <code>
70 $ cd ../gnunet-gtk<br> 73 $ cd ../gnunet-gtk<br>
71 $ ./bootstrap<br> 74 $ ./bootstrap<br>
72 $ export GNUNET_PREFIX=/usr # for example, other locations possible 75 $ export GNUNET_PREFIX=/usr/local # for example, other locations possible<br>
73 $ export CFLAGS="-g -Wall -O0"<br>
74 $ ./configure --prefix=$GNUNET_PREFIX --with-gnunet=$GNUNET_PREFIX<br> 76 $ ./configure --prefix=$GNUNET_PREFIX --with-gnunet=$GNUNET_PREFIX<br>
75 $ make -j$(nproc || echo -n 1)<br> 77 $ make -j$(nproc || echo -n 1)<br>
76 $ sudo make install 78 $ sudo make install<br>
77 </code> 79 </code>
78 80
79 <h2>{{ _("Run") }}</h2> 81 <h2>{{ _("Run") }}</h2>
@@ -82,20 +84,20 @@
82 ~/.config/gnunet.conf. We can start with an empty file for now:</p> 84 ~/.config/gnunet.conf. We can start with an empty file for now:</p>
83 85
84 <p><code> 86 <p><code>
85 > touch ~/.config/gnunet.conf 87 $ touch ~/.config/gnunet.conf
86 </code></p> 88 </code></p>
87 <br /> 89 <br />
88 <p>Now we can start it with the commandline tool gnunet-arm (Automatic Restart 90 <p>Now we can start it with the commandline tool gnunet-arm (Automatic Restart
89 Manager).</p> 91 Manager).</p>
90 92
91 <p><code> 93 <p><code>
92 > gnunet-arm -s 94 $ gnunet-arm -s
93 </code></p> 95 </code></p>
94 96
95 <p>It starts the default GNUnet services. We can list them with the -I option:</p> 97 <p>It starts the default GNUnet services. We can list them with the -I option:</p>
96 98
97 <p><code> 99 <p><code>
98 > gnunet-arm -I<br> 100 $ gnunet-arm -I<br>
99 Running services:<br> 101 Running services:<br>
100 ats (gnunet-service-ats)<br> 102 ats (gnunet-service-ats)<br>
101 revocation (gnunet-service-revocation)<br> 103 revocation (gnunet-service-revocation)<br>
@@ -125,7 +127,7 @@
125 <p>For stopping GNUnet again we can use the -e option.</p> 127 <p>For stopping GNUnet again we can use the -e option.</p>
126 128
127 <p><code> 129 <p><code>
128 > gnunet-arm -e 130 $ gnunet-arm -e
129 </code></p> 131 </code></p>
130 132
131 <h2>{{ _("Make sure, it works!") }}</h2> 133 <h2>{{ _("Make sure, it works!") }}</h2>