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 1: Line 1:
Goto http://www.legendoftux.com and download the Linux binary (lotux_v0_4.tar.gz)
Goto http://www.legendoftux.com and download the Linux binary (lotux_v0_4.tar.gz)
[[File:Ubuntu install 01.png|200px]]


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.
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.
Line 5: Line 7:
   cd Desktop
   cd Desktop
   mv lotux_v0.4.tar.gz ..
   mv lotux_v0.4.tar.gz ..
[[File:Ubuntu install 02.png|200px]]




Line 29: Line 33:


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".
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".
[[File:Ubuntu install 03.png|200px]]
[[File:Ubuntu install 04.png|200px]]


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


Click the "Apply" button.
Click the "Apply" button.
[[File:Ubuntu install 05.png|200px]]


Press "Apply" on the next screen.
Press "Apply" on the next screen.
[[File:Ubuntu install 06.png|200px]]


Press "Close" when it says it is okay to do so.
Press "Close" when it says it is okay to do so.
[[File:Ubuntu install 07.png|200px]]


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

Revision as of 04:51, 16 November 2009

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

Ubuntu install 01.png

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 ..

Ubuntu install 02.png


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".

Ubuntu install 03.png

Ubuntu install 04.png

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

Click the "Apply" button.

Ubuntu install 05.png

Press "Apply" on the next screen.

Ubuntu install 06.png

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

Ubuntu install 07.png

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