bramaudi

How to install Minetest 5.8 in Debian 12

 ·  1 minutes read

As this post written the latest Minetest stable version is 5.8, to install this version we must build from source because default repository still in version 5.6.

  1. First we need to install needed dependencies and download Minetest latest stable branch and specific version of Irrlicht:

    sudo apt install g++ make libc6-dev cmake libpng-dev \
     libjpeg-dev libxi-dev libgl1-mesa-dev libsqlite3-dev \
     libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev \
     libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev \
     libzstd-dev libluajit-5.1-dev gettext libsdl2-dev
    
  2. Extract Minetest source code to desired location (example: minetest folder)

  3. Extract the Irrlicht source code to minetest/lib/irrlichtmt

  4. Start build / compile by run this command inside minetest folder:

    cmake . -DRUN_IN_PLACE=FALSE
    make -j$(nproc)
    
  5. If there is no problem you should successfully build the Minetest executable binary in minetest/bin/minetest, then to make it accessible system-wide we can run sudo make install, done.

Tags: #minetest #linux