Puzzle Pirates installation guide (Linux)
From YPPedia
| | This article relates to a technical issue within the game. |
| Visit the Technical Issue section of the forum if you wish to discuss this or any other issues. |
This installation guide is for people who want to use Linux to play Puzzle Pirates, but might not be Linux experts.
The instructions use the console a lot. Although it is probably possible to do many of the steps without the console, the console is used to standardize the instructions to work on any distribution of Linux.
Contents |
Before you begin
Before you start, get X up and running, as well as an internet connection.
Check if java is installed
To do this, go to a console and type:
which java
If you get something along the lines of:
$ which java /usr/bin/java
Good, then that is where java is installed. Remember what it tells you and skip to Download/Install Yohoho! Puzzle Pirates.
If you just get another prompt, then you have to install Java.
Installing Java
- Go to http://java.sun.com/j2se/1.4.2/download.html
- Click on Download J2SE SDK for Other Platforms.
- Accept the license agreement.
- Download the self-extracting file and save it to your home folder. (if you want to follow these instructions, don't use the rpm).
- Open up a console.
- Now, make the file you downloaded executable (you may have to change the version numbers to match your filename):
chmod u+x j2sdk-1_4_2_11-linux-i586.bin
- Execute the self-extracting file (again change the version numbers as necessary):
./j2sdk-1_4_2_11-linux-i586.bin
- Accept the license agreement.
Download/Install Yohoho! Puzzle Pirates
Downloading is easy, at the console, (in your home directory) type:
wget http://download.threerings.net/yoclient/yohoho-install.bin
Now, you need to make this file executable:
chmod u+x yohoho-install.bin
Now, run the install file:
./yohoho-install.bin
View and accept the agreement. Then, it will give you a prompt asking where java is:
[]
Choose from the following options:
- If java was already installed before you started, in /usr/bin/java, type:
/usr
- If java was already installed before you started, in /bin/java, type:
/
- If java was already installed before you started, in /some/other/directory/bin/java, type:
/some/other/directory
- If you installed java using the instructions in step 2, type:
/home/yourusername/j2sdk1.4.2_11
Make sure to change the numbers at the end to match your version number. Make sure to change yourusername to your user name, like "bob". If you don't know your user name, you can type this at the prompt:
whoami
Next it will ask you where to install, just hit [enter].
Play the game
cd yohoho ./yohoho

