Oh, ok server only.
I just did the steps to get a client running. I'll post them here anyway. I'll look into a pure text-mode recepy for server only tomorrow.
How to get minetest (client) running on a rasPI 3B+, raspbian.
This howto is meant to run a client with playable framerates. You can of course also use it to just install a server,
but that would probably be a simpler process where you can leave lots of steps out.
-Update your raspbian to the latest version:
Code: Select all
sudo apt update
sudo apt dist-upgrade
use the raspi-config utility (sudo raspi-config) and change the following settings:
Code: Select all
boot options -> DESKtoP/CLI -> Desktop (or Desktop autologin)
advanced options -> expand filesystem (not really needed for minetest, but when you're here anyway it can't hurt)
advanced options -> memory split -> 256 MB
advanced options -> GL Driver -> Fake KMS
tweak these two depending on the monitor you use. don't go too much higher than 1024x768, use pixel doubling if your monitor can't go so low
Code: Select all
advanced options -> resolution
advanced options -> pixel doubling
I had a weird bug where, when using pixel doubling the mouse was drawn with it's x/y coordinates halved.
reboot the pi
install some stuff
Code: Select all
apt install libsqlite3-dev libleveldb-dev libirrlicht-dev libgl1-mesa-dev cmake git build-essential libopenal-dev libvorbis-dev libcurl4-gnutls-dev libluajit-5.1-dev gettext libgettextpo-dev libpng-dev libjpeg-dev libbz2-dev libspatialindex-dev
(install all dependencies)
Get Minetest
Code: Select all
git clone https://github.com/minetest/minetest
build Minetest
wait quite some time .... ignoring some warnings
run bin/minetest
if you want to run local games or a server you need to clone minetest_game into the games subdir as well
N.B.
-The list of stuff to install might be 'overcomplete', as I didn't actually install everything in one go. I just did
cmake . and then checked the cmake output to see what packages to install, repeating these steps till cmake ended without errors. I'm not sure if you need gettext or libgettextpo or both for example.
-Don't try to run make with more jobs in parallel. the rPI will run out of memory and hang/swap.
To build just the server you still need the irrlicht headers. You can either download the irrlicht sources and point cmake to where the headers are, or just install all the dev packages above. The last step takes up a bit more space, but is a lot more convenient. Instead of
cmake . use
cmake -DBUILD_CLIENT=0 -DBUILD_SERVER=1 . . I didn't yet do this last step, so it's untested :-)
Tomorrow I'll follow up with what minetest settings to tweak to get reasonable performance.