Install/Test/Uninstall - Ubuntu/Debian: Difference between revisions
From NEOSYS Dev Wiki
Jump to navigationJump to search
Line 17: | Line 17: | ||
testsort | testsort | ||
listfiles | |||
createfile xyzfile | |||
#python one liner to write a multivalue database record | |||
python -c 'from exodus import *;record=var("ddd123");print record.write("xyzfile","key123")' | |||
#perl one liner to read back the record | |||
#the syntax is long winded because exodus isnt properly implemented in perl yet | |||
perl -e 'use exo;$record=new exo::var(""); $filename=new exo::var("xyzfile"); $key=new exo::var("key123"); \ | |||
print $record->read($filename,$key);print $record,"\n"' | |||
list xyzfile | |||
deletefile xyzfile | |||
=== Upgrade === | === Upgrade === |
Revision as of 18:04, 29 June 2011
Add Repository
#View the script wget -q -O - http://exodusdb.googlecode.com/svn/trunk/addrepo_lucid.sh | cat #Run the script wget -q -O - http://exodusdb.googlecode.com/svn/trunk/addrepo_lucid.sh | bash
Install
sudo apt-get update sudo apt-get install exodus
Testing
testsort listfiles createfile xyzfile
#python one liner to write a multivalue database record python -c 'from exodus import *;record=var("ddd123");print record.write("xyzfile","key123")'
#perl one liner to read back the record #the syntax is long winded because exodus isnt properly implemented in perl yet perl -e 'use exo;$record=new exo::var(""); $filename=new exo::var("xyzfile"); $key=new exo::var("key123"); \ print $record->read($filename,$key);print $record,"\n"'
list xyzfile deletefile xyzfile
Upgrade
sudo apt-get update sudo apt-get upgrade
Uninstall
sudo apt-get autoremove exodus
Un-setup
sudo rm -f /etc/apt/sources.list.d/exodus-ppa-lucid.list sudo apt-key del E7815451