Tux Racer Guide: How to install Tux Racer on Linux, instructions and tips.

TuxRacer install

Tux Racer Guide: Installing Tux Racer in Linux.

From Source.

  1. Make sure you have (and have correctly installed) the following libraries:

    • An implementation of the OpenGL API version 1.1 or greater (Mesa versions >= 3.2 work; see http://mesa3d.sourceforge.net). Note that you will need a hardware-accelerated implementation of OpenGL in order for Tux Racer to be playable.
    • The GLUT library, version 3.7 beta or greater. This is distributed in the MesaDemos package, so if you have installed Mesa, you probably also have GLUT. Otherwise, see http://www.opengl.org.
    • Tcl Version 8.0 or greater.
    • (Optional) Simple DirectMedia Layer (SDL) Version 1.1.1 or greater. This is required for joystick support.
    • (Optional) SDL_mixer Version 1.0 or greater. This is required for sound and music support.
  2. Obtain the tuxracer-<version>.tar.gz and tuxracer-data-<version>.tar.gz files from the Downloads page.

  3. Unpack the code tarball:

    shell$ tar xvfz tuxracer-<version>.tar.gz
    shell$ cd tuxracer-<version>

  4. Configure for your system:

    shell$ ./configure <configure options>

    Many people will be able to run configure without passing any options. The more commonly-used configure options are:

    • --prefix=DIR: Specify where to install tuxracer. (The tuxracer binary will be placed in DIR/bin)
    • --with-tcl-libs=DIR: Specify Tcl library location
    • --with-tcl-inc=DIR: Specify Tcl header file location
    • --with-tcl-lib-name=NAME: Specify Tcl library base name
    • --with-gl-libs=DIR: Specify OpenGL library location
    • --with-gl-inc=DIR: Specify OpenGL header file location
    • --with-glut-libs=DIR: Specify GLUT library location
    • --with-glut-inc=DIR: Specify GLUT header file location
    • --enable-stencil-buffer: Use if your hardware has a stencil buffer
    • --with-data-dir=PATH: Location of tuxracer data directory (can be also configured in options file later)

    Run ./configure --help for a complete list of options.

  5. Compile:

    shell$ make

    Tux Racer should compile cleanly, with few (if any) warnings. Please see the FAQ or our Support page if Tux Racer fails to compile.

  6. Install the tuxracer binary:

    shell$ make install

    Unless you specified the --prefix option when you ran configure, this command will install the tuxracer binary in /usr/local/bin

  7. Install the data files:

    shell$ cd /usr/local/share
    shell$ tar xvfz /path/to/tuxracer-data-<version>.tar.gz
    shell$ mv tuxracer-data-<version> tuxracer

    You may install the data files anywhere you wish, but tuxracer looks in /usr/local/share/tuxracer by default.

  8. You're done!

From RPMs.

  1. Obtain tuxracer-<version>.rpm and tuxracer-data-<version>.rpm from your distribution vendor (Sunspire Studios is not providing RPMs at this time).

  2. As root, run:

    shell$ rpm -Uvh tuxracer-data-<version>.rpm
    shell$ rpm -Uvh tuxracer-<version>.rpm

  3. You're done!

Share on Google Plus

About Giampaolo Rossi.

Fond of computer and video games. Stay informed of the latest news on games for Linux and Android. The future of gaming is in Linux. All you need to know about How to play Windows games on Linux.
    Blogger Comment
    Facebook Comment

2 commenti:

  1. Tux Racer is a free software 3D video game featuring the Linux mascot, Tux the penguin.

    In the game, the player controls Tux (or one of three other characters) as he races down a snow and ice path collecting herring. Sliding on ice makes Tux move faster, while sliding on snow makes him more maneuverable; sliding on rocks slows him down. There are also trees that obstruct Tux's path and flags that show him the way.

    ReplyDelete
    Replies
    1. Thanks for commenting @Maria Susana Diaz. TuxRacer is a landmark Linux game, back when the operating system was still criticized for the scarcity and low quality of its content.

      Since its inception, Tux Racer has seen unofficial forks and updates. One of the most popular examples is Extreme Tux Racer, released in September 2007 and based on an earlier fork, PlanetPenguin Racer.5 Roxor Games released an arcade version of the game,6 making it the first GPL-licensed video game to receive an arcade adaptation.

      Delete

Random Posts