Installing pho on ubuntu

Pho is a ruby gem for working with the Talis Platform written by a colleague at Talis, Leigh Dodds.

Having only just installed this on my home machine, I thought I would document how I did it ready for the next time.  There is a good chance I did something wrong which meant that I had to install some extra dependencies for the talis_store script (which is what I wanted pho for), but I don’t know enough about ruby to say what.

$ sudo apt-get install ruby
$ sudo apt-get install rubygems
$ sudo apt-get install ruby1.8-dev
$ sudo gem install pho

Then I wanted to find the executable talis_store because it wasn’t in my path.

$ sudo find / -name talis_store
$ ln -s /var/lib/gems/1.8/bin/talis_store ~/bin/talis_store

Then when running talis_store I had to work through an additional few unmet dependancies.

$ sudo gem install rdf
$ sudo gem install rdf-json
$ sudo gem install rdf-raptor

All done 🙂

Leave a comment