ROCCI-core Installation Guide
Jump to navigation
Jump to search
Prerequisites
Important note: since rOCCI-core v. 4.1 ruby versions < 1.9 are no longer supported. Be sure your distribution provides a sufficiently hig version of ruby, or upgrade ruby manually.
Installing as a Ruby Gem
Certain packages need to be present in your system for the occi-core
gem and its dependences to be downloaded and built properly.
Debian-based distributions (apt/deb)
apt-get install -y ruby ruby-devel rubygems make gcc
RHEL-based distributions (yum/RPM)
yum install -y ruby ruby-devel rubygems make gcc libxml2-devel libxslt-devel oniguruma-devel
Installation
gem install rake gem install occi-core
Usage
require 'occi-core'
Installing as Packages
Packages for Fedora/Scienfific Linux, and for Debian-based distributions are available from the EGI App DB, separately for rOCCI-cli and rOCCI-server. rOCCI packages are also gradually becoming available from base distribution repositories (Fedora, EPEL).