Skip to content

Instantly share code, notes, and snippets.

@PaulHuygen
Last active June 7, 2016 19:02
Show Gist options
  • Save PaulHuygen/10016200 to your computer and use it in GitHub Desktop.
Save PaulHuygen/10016200 to your computer and use it in GitHub Desktop.
Install Virtuoso 7.1.0 on a clean Centos 6.5 system.
The following script installs Virtuoso on a clean Centos 6.5 system.
#!/bin/bash
yum update
yes | yum 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