6438: Bring back package dependencies for "build Ruby from source" option.
[arvados.git] / doc / install / install-manual-prerequisites-ruby.html.textile.liquid
index f1bb5f2901a45ecf5f047d8fb1c6979819f8f2af..07f1ff25c608b9d2a78ff38a6aaa2efa1f5899dc 100644 (file)
@@ -16,6 +16,35 @@ h2(#rvm). Option 1: Install with rvm
 
 h2(#fromsource). Option 2: Install from source
 
+Install prerequisites for Debian 7 or 8:
+
+<notextile>
+<pre><code><span class="userinput">sudo apt-get install \
+    bison build-essential gettext libcurl3 libcurl3-gnutls \
+    libcurl4-openssl-dev libpcre3-dev libreadline-dev \
+    libssl-dev libxslt1.1 zlib1g-dev
+</span></code></pre></notextile>
+
+Install prerequisites for CentOS 6:
+
+<notextile>
+<pre><code><span class="userinput">sudo yum install \
+    libyaml-devel glibc-headers autoconf gcc-c++ glibc-devel \
+    patch readline-devel zlib-devel libffi-devel openssl-devel \
+    automake libtool bison sqlite-devel
+</span></code></pre></notextile>
+
+Install prerequisites for Ubuntu 12.04:
+
+<notextile>
+<pre><code><span class="userinput">sudo apt-get install \
+    gawk g++ gcc make libc6-dev libreadline6-dev zlib1g-dev libssl-dev \
+    libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev \
+    libncurses5-dev automake libtool bison pkg-config libffi-dev
+</span></code></pre></notextile>
+
+Build and install Ruby:
+
 <notextile>
 <pre><code><span class="userinput">mkdir -p ~/src
 cd ~/src