on master help sign in
instructions for Arch, AWS work
commit42dfc0a0bfa4a63153f23be06a321e5a7e700bd4 authorBernardoDeLaPlaz <tjic_BernardoDeLaPlaz_github@tjic.com> dateMon 9 Jul 2018, 17:54 (8 years ago) parent82b1773
1 file changed+94−28
docs/using/install.md+94−28
docs/using/install.md+94−28
@@ -85,7 +85,7 @@ urbit
8585
8686```
8787# Bash
88−
88+
8989sudo port selfupdate
9090sudo port install autoconf automake cmake gmp libsigsegv meson openssl
9191git clone https://github.com/urbit/urbit
@@ -111,19 +111,50 @@ git clone https://github.com/urbit/urbit
111111cd urbit
112112./scripts/bootstrap
113113./scripts/build
114−sudo env "PATH=$PATH" ninja -C ./build/ meson-install
114+sudo env "PATH=$PATH" ninja -C ./build/ install
115115urbit
116116```
117117
118+N.B. if the step `./scripts/build` fails when attempting to
119+build libh2o, it could be caused by a bug in version 0.46 of meson (the bug
120+is not present in 0.45 and is fixed in 0.47).
121+
122+If the command `meson -v` returns a version starting with 0.46, try these steps:
123+
124+
125+```
126+brew uninstall meson
127+pip install meson=0.47.0
128+rm -rf build
129+build/scripts
130+```
131+
132+If that is successful, resume the above instructions after the `build` step.
133+
134+
135+
118136##### Ubuntu or Debian
119137
120138```
121139# Bash
122140
123141sudo apt-get update
124−sudo apt-get install autoconf automake cmake exuberant-ctags g++ git libcurl4-gnutls-dev libgmp3-dev libncurses5-dev libsigsegv-dev libssl-dev libtool make ninja-build openssl pkg-config python python3 python3-pip ragel re2c zlib1g-dev
142+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
125143sudo -H pip3 install --upgrade pip
126−sudo -H pip3 install meson
144+sudo -H pip3 install meson==0.29
145+
146+# we need ninja 1.5.1
147+# 'apt-get install ninja-build' gives us 0.1.3
148+# 'apt-get install ninja-build' gives us 1.3.4
149+#
150+git clone git://github.com/ninja-build/ninja.git
151+pushd ninja
152+ git checkout release
153+ ./configure.py --bootstrap
154+ sudo cp ./ninja /usr/local/bin
155+popd
156+
157+
127158git clone https://github.com/urbit/urbit
128159cd urbit
129160./scripts/bootstrap
@@ -132,22 +163,14 @@ sudo ninja -C ./build/ install
132163urbit
133164```
134165
135−N.B. if the step `./scripts/build` fails when attempting to
136−build libh2o, it could be caused by a bug in version 0.46 of meson (the bug
137−is not present in 0.45 and is fixed in 0.47).
138−
139−If the command `meson -v` returns a version starting with 0.46, try these steps:
140−
141−```
142−brew uninstall meson
143−pip install meson=0.47.0
144−rm -rf build
145−build/scripts
146−```
147−
148−If that is successful, resume the above instructions after the `build` step.
149166
150167
168+(tested on Google Cloud Platform
169+ * Ubuntu Trusty Linux (14.04 LTS)
170+ * Ubuntu Xenial Linux (16.04 LTS)
171+ * Debian 8 (Jessie)
172+ * Debian 9 (Stretch)
173+on 6 July 2018)
151174
152175##### Fedora / Redhat
153176
@@ -173,7 +196,7 @@ popd
173196curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
174197sudo /usr/local/bin/python3 get-pip.py
175198# downgrade meson to avoid dependencies that redhat can't meet
176−sudo /usr/local/bin/pip3 install meson==0.29
199+sudo -H /usr/local/bin/pip3 install meson==0.29
177200
178201
179202git clone git://github.com/ninja-build/ninja.git && cd ninja
@@ -185,12 +208,15 @@ git clone https://github.com/urbit/urbit
185208cd urbit
186209./scripts/bootstrap
187210./scripts/build
188−sudo /usr/local/bin/ninja -C ./build/ meson-install
211+sudo /usr/local/bin/ninja -C ./build/ install
189212urbit
190213
191214```
192215
193−(tested on Google Cloud Platform Red Hat Enterprise Linux 6.1 and 7.1 on 5 July 2018)
216+(tested on Google Cloud Platform
217+ * Red Hat Enterprise Linux 6.1
218+ * Red Hat Enterprise Linux 7.1
219+on 5 July 2018)
194220
195221
196222##### FreeBSD
@@ -213,17 +239,20 @@ sudo ninja -C ./build/ meson-install
213239urbit
214240```
215241
216−(tested on Google Cloud Platform FreeBSD 10.4 and 11.2 on 4 July 2018)
242+(tested on Google Cloud Platform
243+ * FreeBSD 10.4
244+ * FreeBSD 11.2
245+on 4 July 2018)
217246
218247##### Arch
219248
220249```
221250# Bash
222251
223−pacman -Syu
224−pacman -S autoconf automake cmake curl gcc git gmp libsigsegv libtool ncurses ninja openssl python ragel re2c
225−sudo -H pip3 install --upgrade pip
226−sudo -H pip3 install meson
252+sudo pacman -Syu
253+sudo pacman -S autoconf automake cmake curl gcc git gmp libsigsegv libtool ncurses ninja openssl python ragel re2c
254+curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
255+sudo python3 get-pip.py
227256git clone https://github.com/urbit/urbit
228257cd urbit
229258./scripts/bootstrap
@@ -232,21 +261,58 @@ sudo ninja -C ./build/ meson-install
232261urbit
233262```
234263
264+(tested on Amazon EC2 using Amazon Machine Image
265+ * Release 2018.06.15 / ebs hvm x86_64 lts ( ami-a40a47db via https://www.uplinklabs.net/projects/arch-linux-on-ec2/ )
266+on 6 July 2018)
267+
268+
269+
235270##### AWS
236271
237272```
238273# Bash
239274
240275sudo yum update
241−sudo yum install --enablerepo epel autoconf automake cmake ctags gcc gcc-c++ git gmp-devel libcurl-devel libsigsegv-devel libtool meson ncurses-devel openssl-devel pkgconfig python re2c
276+sudo yum install autoconf automake cmake ctags gcc gcc-c++ git gmp-devel libcurl-devel libsigsegv-devel libtool ncurses-devel openssl openssl-devel pkgconfig python2 python3 python3-pip ragel re2c wget git
277+sudo env "PATH=$PATH" pip3 install --upgrade pip
278+sudo env "PATH=$PATH" pip3 install meson
279+
280+
281+# we need libsigsegv
282+#
283+
284+wget http://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/Packages/l/libsigsegv-2.10-10.fc24.x86_64.rpm
285+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
286+sudo yum localinstall libsigsegv-2.10-10.fc24.x86_64.rpm
287+sudo yum localinstall libsigsegv-devel-2.10-10.fc24.x86_64.rpm
288+
289+# we need re2c
290+#
291+wget https://rpmfind.net/linux/dag/redhat/el6/en/x86_64/dag/RPMS/re2c-0.13.5-1.el6.rf.x86_64.rpm
292+sudo yum localinstall re2c-0.13.5-1.el6.rf.x86_64.rpm
293+
294+git clone git://github.com/ninja-build/ninja.git
295+pushd ninja
296+ git checkout release
297+ ./configure.py --bootstrap
298+ sudo cp ./ninja /usr/local/bin
299+popd
300+
301+
242302git clone https://github.com/urbit/urbit
243303cd urbit
244304./scripts/bootstrap
245305./scripts/build
246−sudo ninja -C ./build/ meson-install
306+sudo env "PATH=$PATH" ninja -C ./build/ install
307+
247308urbit
248309```
249310
311+(tested on Amazon EC2 using Amazon Machine Image
312+ * Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-b70554c8
313+on 6 July 2018)
314+
315+
250316### Test for successful installation
251317
252318After running your installed `urbit` command, check to see if the following output was printed: