on master help sign in
updates getting-started.udon dependencies
07c5091Robert
getting-started.udon+103−24
@@ -138,7 +138,7 @@ But first, some terminology:
138- `arvo`: the deterministic OS that lives in a directory whose name matches your Azimuth point, ie `~famreb-todmec` lives in `/famreb-todmec`
138- `arvo`: the deterministic OS that lives in a directory whose name matches your Azimuth point, ie `~famreb-todmec` lives in `/famreb-todmec`
139
139
140Arvo runs nicely on a Unix-like operating system -- Ubuntu,
140Arvo runs nicely on a Unix-like operating system -- Ubuntu,
141−Fedora, macOS, and FreeBSD. If you're using Windows, you'll need
141+Fedora, macOS, and FreeBSD, for example. If you're using Windows, you'll need
142to get one of the aforementioned systems. Don't worry: most of them are free.
142to get one of the aforementioned systems. Don't worry: most of them are free.
143
143
144We have different installation instructions for different platforms. To install
144We have different installation instructions for different platforms. To install
@@ -152,6 +152,29 @@ with the line below:
152Urbit: a personal server operating function
152Urbit: a personal server operating function
153```
153```
154
154
155+### Dependencies
156+
157+Urbit depends on:
158+
159+
160+```
161+C compiler (gcc or clang)
162+curses
163+git
164+gmp
165+libcurl
166+libsigsegv
167+libuv
168+meson
169+ninja
170+openssl
171+pkg-config
172+python2
173+zlib
174+```
175+
176+### Instructions
177+
155#### MacOS
178#### MacOS
156
179
157We recommend using the Homebrew package manager to run Arvo on MacOS.
180We recommend using the Homebrew package manager to run Arvo on MacOS.
@@ -160,7 +183,7 @@ We recommend using the Homebrew package manager to run Arvo on MacOS.
160# Bash
183# Bash
161
184
162brew update
185brew update
163−brew install autoconf automake cmake gcc git gmp libsigsegv libtool meson ninja pkg-config python2 openssl re2c
186+brew install gcc git gmp libsigsegv libtool meson ninja pkg-config python2 openssl
164git clone https://github.com/urbit/urbit
187git clone https://github.com/urbit/urbit
165cd urbit
188cd urbit
166./scripts/bootstrap
189./scripts/bootstrap
@@ -175,7 +198,7 @@ urbit
175# Bash
198# Bash
176
199
177sudo apt-get update
200sudo apt-get update
178−sudo apt-get install autoconf automake cmake exuberant-ctags g++ git libcurl4-gnutls-dev libgmp3-dev libncurses5-dev libsigsegv-dev libssl-dev libtool make openssl pkg-config python python3 python3-pip ragel re2c zlib1g-dev
201+sudo apt-get install g++ git libcurl4-gnutls-dev libgmp3-dev libncurses5-dev libsigsegv-dev libssl-dev make openssl pkg-config python python3 python3-pip zlib1g-dev
179sudo -H pip3 install --upgrade pip
202sudo -H pip3 install --upgrade pip
180sudo -H pip3 install meson==0.29
203sudo -H pip3 install meson==0.29
181
204
@@ -185,12 +208,11 @@ sudo -H pip3 install meson==0.29
185#
208#
186git clone git://github.com/ninja-build/ninja.git
209git clone git://github.com/ninja-build/ninja.git
187pushd ninja
210pushd ninja
188− git checkout release
211+ git checkout release
189− ./configure.py --bootstrap
212+ ./configure.py --bootstrap
190− sudo cp ./ninja /usr/local/bin
213+ sudo cp ./ninja /usr/local/bin
191popd
214popd
192
215
193−
194git clone https://github.com/urbit/urbit
216git clone https://github.com/urbit/urbit
195cd urbit
217cd urbit
196./scripts/bootstrap
218./scripts/bootstrap
@@ -209,15 +231,15 @@ sudo yum install autoconf automake cmake ctags gcc gcc-c++ git gmp-devel libcurl
209
231
210# meson requires python 3.5; RHEL supplies wrong version
232# meson requires python 3.5; RHEL supplies wrong version
211pushd /usr/src
233pushd /usr/src
212− sudo wget https://www.python.org/ftp/python/3.5.5/Python-3.5.5.tgz
234+ sudo wget https://www.python.org/ftp/python/3.5.5/Python-3.5.5.tgz
213− sudo tar xzf Python-3.5.5.tgz
235+ sudo tar xzf Python-3.5.5.tgz
214− cd Python-3.5.5
236+ cd Python-3.5.5
215− sudo ./configure --enable--optimizations
237+ sudo ./configure --enable--optimizations
216− sudo make altinstall
238+ sudo make altinstall
217− which python3.5
239+ which python3.5
218− cd /usr/local/bin
240+ cd /usr/local/bin
219− sudo ln -s python3.5 python3
241+ sudo ln -s python3.5 python3
220− hash python3
242+ hash python3
221popd
243popd
222
244
223curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
245curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
@@ -245,7 +267,7 @@ urbit
245# Bash
267# Bash
246
268
247sudo pacman -Syu
269sudo pacman -Syu
248−sudo pacman -S autoconf automake cmake curl gcc git gmp libsigsegv libtool ncurses ninja openssl python ragel re2c
270+sudo pacman -S curl gcc git gmp libsigsegv ncurses ninja openssl python
249curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
271curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
250sudo python3 get-pip.py
272sudo python3 get-pip.py
251git clone https://github.com/urbit/urbit
273git clone https://github.com/urbit/urbit
@@ -256,15 +278,73 @@ sudo ninja -C ./build/ meson-install
256urbit
278urbit
257```
279```
258
280
281+##### FreeBSD
282+
283+```
284+# Bash or Sh
285+
286+pkg upgrade
287+sudo pkg install curl gcc git gmake gmp libsigsegv python python3 ncurses openssl gmp
288+curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
289+sudo python3 get-pip.py
290+sudo -H pip install --upgrade pip
291+sudo -H pip install meson
292+sudo pkg install ninja
293+git clone https://github.com/urbit/urbit
294+cd urbit
295+sh ./scripts/bootstrap
296+sh ./scripts/build
297+sudo ninja -C ./build/ meson-install
298+urbit
299+```
300+
301+##### Amazon Web Services
302+
303+```
304+# Bash
305+
306+sudo yum update
307+sudo yum install gcc gcc-c++ git gmp-devel libcurl-devel libsigsegv-devel ncurses-devel openssl openssl-devel pkgconfig python2 python3 python3-pip wget git
308+sudo env "PATH=$PATH" pip3 install --upgrade pip
309+sudo env "PATH=$PATH" pip3 install meson
310+
311+
312+# we need libsigsegv
313+#
314+
315+wget http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/l/libsigsegv-2.10-10.fc24.x86_64.rpm
316+wget http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/l/libsigsegv-devel-2.10-10.fc24.x86_64.rpm
317+sudo yum localinstall libsigsegv-2.10-10.fc24.x86_64.rpm
318+sudo yum localinstall libsigsegv-devel-2.10-10.fc24.x86_64.rpm
319+
320+git clone git://github.com/ninja-build/ninja.git
321+pushd ninja
322+ git checkout release
323+ ./configure.py --bootstrap
324+ sudo cp ./ninja /usr/local/bin
325+popd
326+
327+
328+git clone https://github.com/urbit/urbit
329+cd urbit
330+./scripts/bootstrap
331+./scripts/build
332+sudo env "PATH=$PATH" ninja -C ./build/ install
333+
334+urbit
335+```
336+
337+### Using a Fake Ship
338+
339+Perhaps you want to boot a ship without an identity. We recommend doing that
259−If you just want to use a fake ship for development purposes, you can now use
340+for development purposes, or if you just want to play around with an
341+un-networked ship without getting a point. You can now use
260the command of the scheme below to boot a fake `~zod`.
342the command of the scheme below to boot a fake `~zod`.
261
343
262```
344```
263urbit -F zod
345urbit -F zod
264```
346```
265
347
266−You can substitute any valid galaxy-, star-, or planet-name for `zod`.
267−
268If you want to get on the Arvo network with your point, then continue to the
348If you want to get on the Arvo network with your point, then continue to the
269next section.
349next section.
270
350
@@ -304,15 +384,14 @@ keyfile:
304urbit -w ~sample-planet -k path/to/my-planet.key
384urbit -w ~sample-planet -k path/to/my-planet.key
305```
385```
306
386
307−if you'd prefer to copy your key in you can run
387+Or, if you'd prefer to copy your key in, you can run:
308
388
309```
389```
310urbit -w ~sample-planet -G rAnDoMkEy
390urbit -w ~sample-planet -G rAnDoMkEy
311```
391```
312
392
313−
314−This will create a directory called `sample-planet/` and begin building your
393+Either command will create a directory called `sample-planet/` and begin
315−ship. It may take a few minutes.
394+building your ship. It may take a few minutes.
316
395
317When your ship is finished booting, you will see the `~sample-planet:dojo>`
396When your ship is finished booting, you will see the `~sample-planet:dojo>`
318prompt. At that point, you should permanently erase your keyfile from your
397prompt. At that point, you should permanently erase your keyfile from your
reference/hoon-expressions/rune/zap.udon+1−1
@@ -1,7 +1,7 @@
1:- :~ navhome/'/docs/'
1:- :~ navhome/'/docs/'
2 next/'true'
2 next/'true'
3 sort/'4'
3 sort/'4'
4− title/'Wild . ("zap")'
4+ title/'Wild ! ("zap")'
5 ==
5 ==
6;>
6;>
7
7