Install/Test/Uninstall - Ubuntu/Debian

From NEOSYS Dev Wiki
Revision as of 21:57, 10 July 2011 by Steve (talk | contribs)
Jump to navigationJump to search

Add Repository

#Pick ONE Distro.
export DISTRO=Debian_6.0
export DISTRO=xUbuntu_10.04
export DISTRO=xUbuntu_11.04

sudo su -c "echo 'deb http://download.opensuse.org/repositories/home:/neosys:/exodus/$DISTRO  ./' > /etc/apt/sources.list.d/exodus.list"

sudo apt-get update
sudo apt-cache search exodus

Install Database, Python, Perl

"exodus" package installs exodus-cli, libexodus-perl, libexodus-python, libpgexodus and postgresql. Note that Exodus Debian/Ubuntu package names are often prefixed with "lib" compared to other Linux distros.

sudo apt-get update
sudo apt-get install exodus

Quick Test

{quicktest}

Python

find /usr/share|grep exodus
/usr/share/doc/libexodus-python/examples/test.py
/usr/share/doc/libexodus-python/examples/testsort.py

Perl

find /usr/share|grep exodus
/usr/share/doc/libexodus-perl/examples/test.pl

PHP

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

Java

sudo apt-get install libexodus-java
find /usr/share|grep exodus
sudo apt-get install default-jdk #for javac compiler
cd ~
cp /usr/share/doc/libexodus-java/examples/* .
./testjava.sh

C#

sudo apt-get install libexodus-csharp
find /usr/share|grep exodus
sudo apt-get install mono-gmcs #for compiler
cd ~
cp /usr/share/doc/libexodus-csharp/examples/* .
./testc#.sh

Upgrade

sudo apt-get update
sudo apt-get upgrade

Uninstall

sudo apt-get autoremove exodus.*

Removing Repository

sudo rm /etc/apt/sources.list.d/exodus.list
sudo apt-get update