This is an old revision of the document!

Compile in Ubuntu

It is recommended that you install from the repository or a nightly version, but if you still want to compile you can with these instructions.

  1. Install dependencies:
    sudo apt-get install aptitude
    sudo aptitude install autopoint libguichan-0.8.1-1 libguichan-sdl-0.8.1-1 libphysfs1 libsdl-image1.2 \
    libsdl-mixer1.2 libsdl-net1.2 libsdl-ttf2.0-0 build-essential g++ g++-4.4 \
    libstdc++6-4.4-dev patch autoconf libtool libcurl4-gnutls-dev libgl1-mesa-dev libenet-dev \
    libguichan-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-mixer1.2-dev \
    libphysfs-dev libpng12-dev libxml2-dev zlib1g-dev libsdl-ttf2.0-dev libsdl-gfx1.2-dev gettext
  2. Make a directory:
    mkdir manaplus
  3. Open the directory:
    cd manaplus
  4. Download client sources:
  5. Extract sources:
    tar xvJf manaplus.tar.xz
  6. Open subdir:
    cd manaplus*
  7. Update make file:
    autoreconf -i
  8. Compile:
  9. Install:
    make install
  10. Uninstall.
    If you want, you can unstall game by running this command:
    sudo make uninstall
  11. Now you can run game by selecting Applications \ Games \ ManaPlus.

See also