on master help sign in
install instructions now work for RHEL 6.1 and 7.1
commit82b17738611bddadfda8123dfa58941b130d9bcd authorBernardoDeLaPlaz <tjic_BernardoDeLaPlaz_github@tjic.com> dateThu 5 Jul 2018, 18:26 (8 years ago) parentc0cc044
1 file changed+33−6
docs/using/install.md+33−6
docs/using/install.md+33−6
@@ -152,20 +152,47 @@ If that is successful, resume the above instructions after the `build` step.
152152##### Fedora / Redhat
153153
154154```
155−# Bash
155+# Bash
156+
157+sudo yum upgrade
158+sudo yum install autoconf automake cmake ctags gcc gcc-c++ git gmp-devel libcurl-devel libsigsegv-devel libtool ncurses-devel ninja-build openssl openssl-devel pkgconfig python2 python3 ragel re2c wget
159+
160+# meson requires python 3.5; RHEL supplies wrong version
161+pushd /usr/src
162+ sudo wget https://www.python.org/ftp/python/3.5.5/Python-3.5.5.tgz
163+ sudo tar xzf Python-3.5.5.tgz
164+ cd Python-3.5.5
165+ sudo ./configure --enable--optimizations
166+ sudo make altinstall
167+ which python3.5
168+ cd /usr/local/bin
169+ sudo ln -s python3.5 python3
170+ hash python3
171+popd
172+
173+curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
174+sudo /usr/local/bin/python3 get-pip.py
175+# downgrade meson to avoid dependencies that redhat can't meet
176+sudo /usr/local/bin/pip3 install meson==0.29
177+
178+
179+git clone git://github.com/ninja-build/ninja.git && cd ninja
180+git checkout release
181+./configure.py --boostrap
182+sudo cp ./ninja /usr/local/bin
156183
157−sudo dnf upgrade
158−sudo dnf install autoconf automake cmake ctags gcc gcc-c++ git gmp-devel libcurl-devel libsigsegv-devel libtool ncurses-devel ninja-build openssl openssl-devel pkgconfig python2 python3 ragel re2c
159−sudo -H pip3 install --upgrade pip
160−sudo -H pip3 install meson
161184git clone https://github.com/urbit/urbit
162185cd urbit
163186./scripts/bootstrap
164187./scripts/build
165−sudo ninja -C ./build/ meson-install
188+sudo /usr/local/bin/ninja -C ./build/ meson-install
166189urbit
190+
167191```
168192
193+(tested on Google Cloud Platform Red Hat Enterprise Linux 6.1 and 7.1 on 5 July 2018)
194+
195+
169196##### FreeBSD
170197
171198```