Skip to content

Instantly share code, notes, and snippets.

@val314159
Forked from PaulHuygen/gist:10016200
Last active June 7, 2016 19:32
Show Gist options
  • Save val314159/27cd0d55f81adc9e1e8333fb5cb7c8f2 to your computer and use it in GitHub Desktop.
Save val314159/27cd0d55f81adc9e1e8333fb5cb7c8f2 to your computer and use it in GitHub Desktop.
Install Virtuoso 7.1.0 on a clean Centos 6.5 system.
#!/bin/bash
# The following script installs Virtuoso on a clean Centos 6.5 system.
yum -y update
yum -y install autoconf automake libtool flex bison gperf git openssl-devel readline-devel
export VIRTUOSO_NAME=virtuoso-opensource
export VIRTUOSO_VERSION=7.1.0
export VIRTUOSO_FULLNAME=$VIRTUOSO_NAME-$VIRTUOSO_VERSION
export VIRTUOSO_TARBALL=$VIRTUOSO_FULLNAME.tar.gz
export VIRTUOSO_SRCURL=http://sourceforge.net/projects/virtuoso/files/virtuoso/$VIRTUOSO_VERSION/$VIRTUOSO_TARBALL
export SRCDIR=/usr/local/src
export VIRTUOSO_SRCDIR=$SRCDIR/$VIRTUOSO_FULLNAME
cd $SRCDIR
wget $VIRTUOSO_SRCURL
tar -xzf $VIRTUOSO_TARBALL
CFLAGS="-O2 -m64"
export CFLAGS
export VIRTUOSOPATH='/opt/virtuoso-7.1.0'
cd $VIRTUOSO_FULLNAME
./configure \
--program-transform-name="s/isql/isql-vt/" \
--with-readline \
--prefix=$VIRTUOSOPATH
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment