Octoshape is a closed-source streaming media server and client which uses peer-to-peer grid technology. This page will help you install the Octoshape client for Linux.
Install Required Packages
Install the sun-java6-bin and mplayer packages.
amd64 users should install ia32-sun-java6-bin
In Kubuntu 8.04 "Hardy Heron", the Java package installed with the metapackage kubuntu-restricted-extras is openjdk-6-jre, so there isn't need to install sun-java's packages.
Install Octoshape
The corresponding Terminal commands are provided for each step, but you may use whatever tools you wish to accomplish what is required.
Download the Octoshape plugin for Linux to your Desktop from http://www.octoshape.com/plugin/linux.asp.
wget -P ~/Desktop http://www.octoshape.com/files/octosetup-linux_i386.bin
The /Desktop referenced folder can be change for any other of your preference. /Desktop is the default desktop folder of an Ubuntu English system. Other option could be use a /Programs folder.
Give octosetup-linux_i386.bin executable FilePermissions.
chmod +x ~/Desktop/octosetup-linux_i386.bin
Execute octosetup-linux_i386.bin using the Terminal.
cd ~/Desktop ./octosetup-linux_i386.bin
You will then be presented with a license agreement. You may scroll down by pressing the space bar. If you agree to the terms, type "yes" when prompted and press enter. An octoshape directory will be extracted to your Desktop.
In the octoshape directory, edit the file named setup.xml which contains the path to your libjvm.so with the following syntax: <e JavaExec="/path/to/libjvm.so" />.
A nice shortcut for this is to execute the following command in your Terminal:
echo '<e JavaExec="'$(dpkg -L sun-java6-bin | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml
amd64 users should use:
echo '<e JavaExec="'$(dpkg -L ia32-sun-java6-bin | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml
Kubuntu 8.04 users with a Java install from kubuntu-restricted-extras metapackage, should use:
echo '<e JavaExec="'$(dpkg -L openjdk-6-jre-headless | grep client/libjvm.so)'" />' > ~/Desktop/octoshape/setup.xml
Use Octoshape
Launch your player by executing
cd ~/Desktop/octoshape ./OctoshapeClient -url:XYZ.xyz
where "XYZ.xyz" corresponds to the string in the Play column at Octoshape's Linux Play Page for the channel you wish to watch.
See also