-
-
Save val314159/27cd0d55f81adc9e1e8333fb5cb7c8f2 to your computer and use it in GitHub Desktop.
Install Virtuoso 7.1.0 on a clean Centos 6.5 system.
This file contains hidden or 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
#!/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