Last active
June 7, 2016 19:02
-
-
Save PaulHuygen/10016200 to your computer and use it in GitHub Desktop.
Install Virtuoso 7.1.0 on a clean Centos 6.5 system.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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