Linux Requirements for Drastic software

Most Drastic software is available on Linux x86_64 as well as Windows (32/64) and OS-X (32/64).  Linux testing is done on RedHat, Centos and Ubuntu (Debian base), but due to the variety of flavours of these base distributions, it is important to check that all the required support libraries are included in your distribution.  This article outlines the absolute minimum packages required to run any Drastic software.

 

Linux Requirements

Distributions

  • RedHat 6 (our v5) or 7 (our v6 or greater)
  • Centos 6 or 7
  • Ubuntu 16 or greater

Single Line RedHat/Centos

Headless

sudo yum -y install SDL OpenEXR e2fsprogs log4cxx openldap libidn xz gstreamer gstreamer-plugins-base compat-libtiff3 libGLU

With GUI

yum groupinstall "X Window System"
sudo yum -y install xcb-util xcb-util-renderutil xcb-util-image xcb-util-keysyms xcb-util-wm mesa-libGL libicu libXi libSM


Ubuntu 16+

Headless

sudo apt-get install libsdl1.2-dev openexr statgrab libglu1-mesa libglapi-mesa uuid libldap2-dev liblz-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libicu55
Currently this needs to be downloaded, make, sudo make install
http://download.icu-project.org/files/icu4c/50.1.2/icu4c-50_1_2-src.tgz

With GUI

sudo apt-get install ubuntu-desktop

sudo apt-get install libxcb-xinerama0

 


Packages

libstatgrab

web: www.i-scream.org

unbuntu: sudo apt-get install statgrab libstatgrab-dev
fedora: sudo yum install libstatgrab-devel libstatgrab
centos64: http://dl.fedoraproject.org/pub/epel/testing/6/x86_64/Packages/l/libstatgrab-0.17-1.el6.2.x86_64.rpm
cebtos 6 64: sudo yum install libstatgrab-devel

libGLU

ubuntu: sudo apt-get install libglu1-mesa
centos: sudo yum install libGLU

OpenGL

unbuntu: sudo apt-get install libglapi-mesa
centos: sudo yum install mesa-libGL

libicu

ubuntu: sudo apt-get install libicu55
centos: sudo yum install libicu

xcb

centos: sudo yum install xcb-util xcb-util-renderutil xcb-util-image xcb-util-keysyms xcb-util-wm

OpenEXR

ubuntu: sudo apt-get install openexr
centos: sudo yum install OpenEXR

libtiff (3)

centos: sudo yum install compat-libtiff3

libuuid

centos : sudo yum install uuidd libuuid-devel
ubuntu: sudo apt-get install uuid-dev

Centos64: 

  yum install e2fsprogs-devel
  yum install libuuid-devel

ldap lber

ubuntu: sudo apt-get install libldap2-dev
Centos64: sudo yum install openldap libidn

lmza

Ubuntu: sudo apt-get install liblz-dev
Centos: sudo yum install xz

libgstreamer (QTWebKit is dependant)

ubuntu: sudo apt-get install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev
Centos64: sudo yum install gstreamer gstreamer-plugins-base

wxWidgets

(wxwindows) 2.8.9 REQUIRED (2.8.8 does not work)

web: www.wxwidgets.org
ubuntu: sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg

fedora: sudo yum install wxGTK-devel wxGTK
centos64: sudo yum install wxGTK-devel wxGTK

OpenSSL

web: www.openssl.org

ubuntu:  sudo apt-get install openssl

For some installation you will need to find libssl.so.1.0.0, cd there and make these links:
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10

fedora:  sudo yum install openssl

centros64:  sudo yum install openssl


Installation

Once the Drastic software has been installed, it is important to either restart the machine, or do a 

sudo ldconfig

to make sure all the new library objects can be found.