Installing Legend of Tux on Ubuntu
Below are the steps for installing the Legend of Tux on Linux
Ubuntu 9.04 Live
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.
Mandriva 2010 Live
Same steps as for Ubuntu, however Firefox appears to save the file at /home/live/Downloads
If you get the message about libSDL_mixer-1.2.so.0 when running ./lotux, do the following steps:
Download the following: http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11-1.i586.rpm
Select "OK" to open with "Software Installer"
Press "Install" to install the Libraries
After running ./lotux again, I was able to run the program, however it tries to play music for all program through the computer's internal speaker, instead of using my Logitech speakers. I will have to look into this some more to figure out the problem.
After thinking about it, I realized that Mandriva was really trying to play all audio out of my USB headset. I unplugged my USB headset, and rebooted into Mandriva 2010 Live, and music for Legend of Tux and everything else worked great. You would think that there would be an option in Sound Configuration (in Mandriva Linux Control Center) to select which device you want to use for audio output, but I checked and there isn't an option that I could find.
openSUSE 11.1
Same steps as Ubuntu.
Home directory is /home/linux.
Firefox appears to save the lotux_v0_4.tar.gz to the Desktop here also:
cd /home/linux/Desktop mv lotux_v0_4.tar.gz .. cd .. gzip -d lotux_v0_4.tar.gz tar -xvf lotux_v0_4.tar cd release_ubuntu ./lotux
You will probably get the libSDL_mixer-1.2.so.0 error
Download and run the SDL_mixer RPM
http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11-1.i586.rpm
Open with "Install Software (default)"
Got an error about missing rpmlib when installing the RPM. May have to find and install that dependency.
Fedora
Coming Soon