Admin

Installing Minetest from Source

OpenBSD Install

Instructions for installing in OpenBSD can be found on IRCNOW's wiki

Linux Install

Debian Linux

Install prerequisites

apt install git libncurses5-dev libgettextpo0 gettext
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

Build IrrlichtMt

git clone https://github.com/minetest/irrlicht.git;
cd irrlicht;
cmake . -B build -DBUILD_SHARED_LIBS=FALSE;
cmake --build build;

Build Minetest Server

mkdir src
cd src
git clone https://github.com/minetest/minetest.git
cd minetest
cmake . -B build -DCMAKE_PREFIX_PATH=../irrlicht/build -DRUN_IN_PLACE=TRUE -DBUILD_CLIENT=FALSE -DBUILD_SERVER=TRUE \  
        -DENABLE_SOUND=OFF -DENABLE_GETTEXT=ON -DENABLE_CURSES=ON -DENABLE_POSTGRESQL=OFF -DENABLE_LEVELDB=OFF \ 
        -DENABLE_REDIS=OFF -DENABLE_SPATIAL=OFF;
cmake --build build