Skip to content

Installation: Dependencies

Mark Bussey edited this page Jul 10, 2015 · 38 revisions

Notes

These libraries provide the tools you need to download, compile, and configure packages required by HydraDAM.

Steps

  1. Install the following development tools & libraries for the HydraDAM project using your package manager (apt-get or yum).

Ubuntu:

sudo apt-get install build-essential git git-core curl openssl libreadline6 libreadline6-dev zlib1g \
zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev \ 
ncurses-dev automake libtool bison subversion pkg-config libmagickwand-dev imagemagick \
libcurl4-openssl-dev apache2-prefork-dev libxvidcore-dev

CentOS:

  1. To install libyaml and libyaml-devel, which are not available through the Centos standard repos, add the epel repo using
    su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'

  2. Install the CentOS Development Tools package, which includes zlib-devel, apr-devel, git, etc.):

  3. At your terminal prompt, enter sudo yum groupinstall -y "Development Tools"

    The final output should look similar to this (with the ... indicating system generated code that has been intentionally left out of these instructions):
    ...
    Transaction Summary
    Install: 108 Package(s)
    Total download size: 104 M
    Installed size: 308 M
    ...
    Complete!

  4. Install the remaining tools and libraries with:

sudo yum install -y screen wget curl-devel httpd-devel openssl-devel readline-devel ruby-devel \
sqlite-devel mysql-devel tcl ImageMagick-devel nasm libxml2-devel libxslt-devel libyaml-devel

The final output should look similar to this (with the ... indicating system generated code that has been intentionally left out of these instructions):
...
Transaction Summary
Install: 77 Package(s)
Total download size: 38 M
Installed size: 131 M
...
Importing GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Userid : EPEL (6) epel@fedoraproject.org
Package: epel-release-6.8.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]: Y
...
Complete!

Verification Steps

Review the output of your install command (apt-get for Ubunto or yum for Centos) to verify that it has completed successfully with no errors. Do not move on until this command is error-free. The steps outlined above are not specific to HydraDAM so if you see an error, try copying and pasting it into Google or another search engine to troubleshoot.

Next Step

CentOS: Proceed to Disable SELinux
Ubuntu: Proceed to Ruby 2.0 and Rubygems 2.0
or return to the Overview page.

Clone this wiki locally