Installing Legend of Tux on Ubuntu: Difference between revisions

From LD Smith Games Workshop
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:


Then perform the following steps:
Then perform the following steps:
Run Synaptic Package Manager (should be under System => Administration)
Enter "SDL" in the Quick Search, and find "libsdl-mixer1.2" in the list.  Click the box next to it, and select "Mark for installation".
Select "Mark" on the screen to install the additional packages.
Click the "Apply" button.
Press "Apply" on the next screen.
Press "Close" when it says it is okay to do so.
Try running ./lotux again, and it should now work.

Revision as of 04:44, 16 November 2009

Goto http://www.legendoftux.com and download the Linux binary (lotux_v0_4.tar.gz)

Save the file to your home directory. By default, Firefox may save the file to your desktop. In that case, move the file to your home directory. I'm using a Live Ubuntu distribution, so my home directory is /home/ubuntu.

 cd Desktop
 mv lotux_v0.4.tar.gz ..


Open a terminal, go to your home directory, and extract the file.

 gzip -d lotux_v0_4.tar.gz
 tar -xvf lotux_v0_4.tar

Go to the release_ubuntu directory, and try to run the executable

 cd release_ubuntu
 ./lotux

It if runs, great!

If you get the message below:

 ./lotux: error while loading shared libraries: libSDL_mixer-1.2.so.0:
 cannot open shared object file: No such file or directory

Then perform the following steps:

Run Synaptic Package Manager (should be under System => Administration)

Enter "SDL" in the Quick Search, and find "libsdl-mixer1.2" in the list. Click the box next to it, and select "Mark for installation".

Select "Mark" on the screen to install the additional packages.

Click the "Apply" button.

Press "Apply" on the next screen.

Press "Close" when it says it is okay to do so.

Try running ./lotux again, and it should now work.