Install/Test/Uninstall - Redhat5/Centos5/Fedora15

From NEOSYS Dev Wiki
Revision as of 19:50, 10 July 2011 by Steve (talk | contribs) (→‎C#)
Jump to navigationJump to search

Add Repository

#Pick ONE Distro.
export DISTRO=Fedora_15
export DISTRO=RedHat_RHEL-5 #use this for Centos5 too

sudo su -c "echo -e '\
[exodus]\n\
name=exodus\n\
type=rpm-md\n\
baseurl=http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO/\n\
gpgcheck=1\n\
gpgkey=http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO/repodata/repomd.xml.key\n\
enabled=1\n\
'>/etc/yum.repos.d/exodus.repo"

sudo yum clean all
yum search exodus

Postgres/Python/Perl

sudo yum install exodus

PHP

sudo yum install exodus-php
find /usr/share|grep exodus
php /usr/share/doc/packages/libexodus-php/examples/test.php

Java

sudo yum install exodus-java
sudo yum install java-devel #for javac compiler
find /usr/share|grep exodus
cd ~
cp /usr/share/doc/packages/libexodus-java/examples/* .
./testjava.sh

C#

fedora only. not redhat5/centos5

sudo yum install exodus-csharp
find /usr/share|grep exodus
cd ~
cp /usr/share/doc/packages/libexodus-csharp/examples/* .
./testc#.sh

Removing Repository

sudo yum remove "*exodus*"
sudo rm /etc/yum.repos.d/exodus.repo
sudo yum clean all