Topic: [How to] Install the board game Risk on crunchbang.
Risk is one of my favourite board game, but unfortunately is not available in the Ubuntu repositories. Fortunately, the forum administrator of the linux-hardcore.com is a big fan of this board game and posted a link to install Risk on Debian Lenny in this POST. Unfortunately, some details were lacking on the steps we need to follow to install Risk. In addition, a new version of Risk has been released on Freshmeat.
To install Risk, first make sure that you have installed Java (1.4 or higher). I can't remember if it is installed by default in #!, so in case you don't have Java, open a terminal and type:
sudo apt-get update
sudo apt-get install sun-java6-jreThen, download the latest version of Risk (as of December 2008) HERE.
You have two options to install this jar file:
Option A: Open Thunar and go in the directory where you downloaded the Risk_install_1.0.9.8.jar file. Left click on this file, and select Open with “Sun Jave 6 Runtime” and follow the instructions on the screen. I won't go through them, as they are self-explanatory, but suffice to say that you need to choose the language you want to use, the location where you want to install it, and the components that you want to install.
Option B: Open a terminal (my preferred option):
cd /path/to/where/you/downloaded/Risk_install_1.0.9.8.jar
sudo java -jar Risk_install_1.0.9.8.jarAnd follow the instructions on the screen.
By default, the Risk directory will be installed on your home directory. So, if you haven't installed Risk on a different directory, the command to start Risk is simply:
~/Risk/run.shYou can manually add an entry to the Openbox menu to look like this (I only have one game on this laptop):
<menu id="games" label="Games">
<item label="Risk">
<action name="Execute">
<execute>
~/Risk/run.sh
</execute>
</action>
</item>
</menu>A menu item should be added automatically if you use Pipe Menus as per this POST (Note: I have yet to try this pipe menu script). Similarly, a menu item should be automatically added to the lxpanel menu under 'Development'.
Additional Note: When I used Option B on my Dreamlinux partition, it installed Risk in /usr/local/Risk by default. So make sure you pay attention as to where the run.sh file is installed. And I tested the revised procedure on a the liveCD of #!.
Have fun!
Ghoti ![]()
Edit: I edited the original post based on a mistake that greenguru spotted.
Last edited by ghoti (2008-12-30 02:52:06)
Our greatest weakness lies in giving up. The most certain way to succeed is always to try just one more time.
Thomas A. Edison