diff options
Diffstat (limited to 'template/install-on-archpi.html.j2')
-rw-r--r-- | template/install-on-archpi.html.j2 | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/template/install-on-archpi.html.j2 b/template/install-on-archpi.html.j2 index 00c8dc50..28f004fc 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 # 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,17 @@ | |||
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 # for example, other locations possible<br> |
73 | $ export CFLAGS="-g -Wall -O0"<br> | 76 | $ export CFLAGS="-g -Wall -O0"<br> |
74 | $ ./configure --prefix=$GNUNET_PREFIX --with-gnunet=$GNUNET_PREFIX<br> | 77 | $ ./configure --prefix=$GNUNET_PREFIX --with-gnunet=$GNUNET_PREFIX<br> |
75 | $ make -j$(nproc || echo -n 1)<br> | 78 | $ make -j$(nproc || echo -n 1)<br> |
76 | $ sudo make install | 79 | $ sudo make install<br> |
77 | </code> | 80 | </code> |
78 | 81 | ||
79 | <h2>{{ _("Run") }}</h2> | 82 | <h2>{{ _("Run") }}</h2> |
@@ -82,20 +85,20 @@ | |||
82 | ~/.config/gnunet.conf. We can start with an empty file for now:</p> | 85 | ~/.config/gnunet.conf. We can start with an empty file for now:</p> |
83 | 86 | ||
84 | <p><code> | 87 | <p><code> |
85 | > touch ~/.config/gnunet.conf | 88 | $ touch ~/.config/gnunet.conf |
86 | </code></p> | 89 | </code></p> |
87 | <br /> | 90 | <br /> |
88 | <p>Now we can start it with the commandline tool gnunet-arm (Automatic Restart | 91 | <p>Now we can start it with the commandline tool gnunet-arm (Automatic Restart |
89 | Manager).</p> | 92 | Manager).</p> |
90 | 93 | ||
91 | <p><code> | 94 | <p><code> |
92 | > gnunet-arm -s | 95 | $ gnunet-arm -s |
93 | </code></p> | 96 | </code></p> |
94 | 97 | ||
95 | <p>It starts the default GNUnet services. We can list them with the -I option:</p> | 98 | <p>It starts the default GNUnet services. We can list them with the -I option:</p> |
96 | 99 | ||
97 | <p><code> | 100 | <p><code> |
98 | > gnunet-arm -I<br> | 101 | $ gnunet-arm -I<br> |
99 | Running services:<br> | 102 | Running services:<br> |
100 | ats (gnunet-service-ats)<br> | 103 | ats (gnunet-service-ats)<br> |
101 | revocation (gnunet-service-revocation)<br> | 104 | revocation (gnunet-service-revocation)<br> |
@@ -125,7 +128,7 @@ | |||
125 | <p>For stopping GNUnet again we can use the -e option.</p> | 128 | <p>For stopping GNUnet again we can use the -e option.</p> |
126 | 129 | ||
127 | <p><code> | 130 | <p><code> |
128 | > gnunet-arm -e | 131 | $ gnunet-arm -e |
129 | </code></p> | 132 | </code></p> |
130 | 133 | ||
131 | <h2>{{ _("Make sure, it works!") }}</h2> | 134 | <h2>{{ _("Make sure, it works!") }}</h2> |