Mercurial > repos > iracooke > galaxy_protk
comparison README @ 2:c25df71f7b68 default tip
Update to protk 1.2.2
| author | Ira Cooke <iracooke@gmail.com> |
|---|---|
| date | Sun, 09 Jun 2013 08:13:09 -0500 |
| parents | dac478a72c1d |
| children |
comparison
equal
deleted
inserted
replaced
| 1:dac478a72c1d | 2:c25df71f7b68 |
|---|---|
| 3 Installation of this package should proceed automatically however the | 3 Installation of this package should proceed automatically however the |
| 4 steps are outlined here to help troubleshoot potential issues. | 4 steps are outlined here to help troubleshoot potential issues. |
| 5 | 5 |
| 6 The installer does the following | 6 The installer does the following |
| 7 1. Downloads an install script from dropbox | 7 1. Downloads an install script from dropbox |
| 8 2. Installs ruby version manager (rvm) into the home directory of the galaxy user (ie at ~/.rvm) | 8 2. Installs ruby version manager (rvm) into the home directory of the galaxy user (ie at $HOME/.rvm) |
| 9 3. Uses rvm to download and compile ruby 1.9.3 | 9 3. Uses rvm to download and compile ruby 1.9.3 |
| 10 4. Creates a gemset to install the protk rubygem | 10 4. Creates a gemset to install the protk rubygem |
| 11 5. Installs the protk rubygem which involves compiling a libxml extension | 11 5. Installs the protk rubygem which involves compiling a libxml extension |
| 12 | 12 |
| 13 System Requirements: | 13 System Requirements: |
| 14 | 14 |
| 15 - The ability to download files (an internet connection) curl wget | 15 - General requirements: |
| 16 - gcc g++ make autoconf automake libtool pkg-config patch git openssl | 16 Many of these requirements are for building rvm and ruby itself. If you have pre-installed |
| 17 libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev | 17 rvm and ruby you should already have most of these installed (See below for pre-installing RVM and Ruby) |
| 18 libc6-dev ncurses-dev bison subversion libxml2 libxml2-dev | 18 |
| 19 Requires the ability to download files (an internet connection) curl wget | |
| 20 Requires basic build tools. | |
| 21 On Ubuntu, package build-essential is usually sufficient | |
| 22 On Centos, you should install gcc g++ make autoconf automake libtool pkg-config patch git openssl libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev libc6-dev ncurses-dev bison subversion libxml2 libxml2-dev gawk | |
| 23 | |
| 24 - Tested Systems: | |
| 25 Ubuntu-12.04-LTS 64 Bit Server With OpenSSH preinstalled: | |
| 26 | |
| 27 Requires | |
| 28 build-essential mercurial libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev | |
| 29 | |
| 30 - RVM (Ruby Version Manager) | |
| 31 The install script will attempt to install rvm for you if it is not already | |
| 32 installed but this will fail if there are unsatified system dependencies. | |
| 33 Alternatively you can pre-install rvm by following instructions at https://rvm.io/rvm/install/ | |
| 34 before you proceed. Protk should work with rvm installed as root or as a local user. | |
| 35 This option has the advantage of allowing you control over how rvm is installed in your system. | |
| 36 | |
| 37 (For example. Installing rvm as root user) | |
| 38 | |
| 39 curl -L https://get.rvm.io | sudo bash -s stable | |
| 40 sudo usermod -a -G rvm yourusername | |
| 41 | |
| 42 (logout and log back in and then execute the following comand to preinstall ruby and its dependencies) | |
| 43 | |
| 44 rvm install --autolibs=3 1.9.3 | |
| 45 | |
| 46 |
