Tux Racer Guide: Installing Tux Racer Linux 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

0 commenti:

Post a Comment

Random Posts