Hi,
how can i install/build dte Server version of Minetest 5.4.x on a Raspberry Pi?
Pleas no snap or flatpack installation.
My current setup: Raspberry OS/Raspian Buster, Minetest 5.3 on a Raspberry Pi 4, 4GB
Minetestserver 5.4.x Raspberry Pi
Re: Minetestserver 5.4.x Raspberry Pi
like on a "normal" system
- download the TAR.GZ from github ( only until 5.4.0 ... everythink later is more complicated because of irrlicht-mt )
- install the dependencys ( see README.TXT )
- extract the TAR.GZ
- change into the new directory
- build with "cmake" and "make"
- done
- download the TAR.GZ from github ( only until 5.4.0 ... everythink later is more complicated because of irrlicht-mt )
- install the dependencys ( see README.TXT )
- extract the TAR.GZ
- change into the new directory
- build with "cmake" and "make"
- done
Last edited by Walker on Wed May 12, 2021 17:03, edited 1 time in total.
My YouTube-Site with Minetest-LetsPlays and some of my Servers: Carpathian Ethereal Vanilla Creative MineClone2 --- Discord
Re: Minetestserver 5.4.x Raspberry Pi
Code: Select all
wget https://github.com/minetest/minetest/archive/refs/tags/5.4.0.tar.gz
sudo apt install g++ make libc6-dev libirrlicht-dev cmake libbz2-dev libpng-dev libjpeg-dev libxxf86vm-dev libgl1-mesa-dev libsqlite3-dev libogg-dev libvorbis-dev libopenal-dev libcurl4-gnutls-dev libfreetype6-dev zlib1g-dev libgmp-dev libjsoncpp-dev
tar -xaf 5.4.0.tar.gz
cd minetest-5.4.0
cmake .
make -j$(nproc)
./bin/minetest --server --foo bar
My YouTube-Site with Minetest-LetsPlays and some of my Servers: Carpathian Ethereal Vanilla Creative MineClone2 --- Discord
-
- Moderator
- Posts: 4095
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Re: Minetestserver 5.4.x Raspberry Pi
Alternatively this server building script should also work on an RPi:
viewtopic.php?p=311160#p311160
viewtopic.php?p=311160#p311160
Re: Minetestserver 5.4.x Raspberry Pi
have you added irrlicht-mt support ther ?sfan5 wrote: ↑Fri May 14, 2021 20:36Alternatively this server building script should also work on an RPi:
viewtopic.php?p=311160#p311160
My YouTube-Site with Minetest-LetsPlays and some of my Servers: Carpathian Ethereal Vanilla Creative MineClone2 --- Discord
-
- Moderator
- Posts: 4095
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Re: Minetestserver 5.4.x Raspberry Pi
Building the server currently doesn't need IrrlichtMt, I'll probably add the support once it's necessary.
Re: Minetestserver 5.4.x Raspberry Pi
Thank you for your instructions. I used the one from sfan5 because I only need the server for now.
My next step ist to upgrade my running 5.3 Server with the file from the tar.gz file.
It works (testet in pi users home directory)sfan5 wrote: ↑Tue Feb 06, 2018 11:16
First step, choosing the Minetest version:It will ask you to enter a Minetest version. You can enter any numeric version, but you probably want either of these:Code: Select all
export branch=$(printf "Enter Minetest version: " >&2;read r;echo "$r")
After you've done that just paste the one-line script into your terminal:
- master: Latest development state (5.5.0-dev)
- stable-5: Stable release in the 5 series (5.4.1)
It will ask you for your password once in the beginning.Code: Select all
(sudo apt-get install -y unzip g{it,cc,++} {c,}make {zlib1g,lib{sqlite3,curl4-openssl,luajit-5.1,leveldb}}-dev&&cd $(mktemp -dp /var/tmp)&&wget downloads.sourceforge.net/irrlicht/irrlicht-1.8.4.zip -O irr.zip&&unzip -q irr.zip&&git clone -b $branch https://github.com/minetest/minetest&&cd minetest&&git clone -b $branch {https://github.com/minetest,games}/minetest_game&&cmake . -D{BUILD_CLIENT=0,{BUILD_SERVER,RUN_IN_PLACE,ENABLE_LEVELDB}=1,IRRLICHT_INCLUDE_DIR=$PWD/../irrlicht-1.8.4/include}&&make -j$(nproc) package&&p=$(echo minetest-*.tar.gz)&&cp "$p" ~&&printf '\n\n\e[1;32mBuild successful, an archive called "%s" was placed in your home folder.\nTo run the server, extract the archive and run the executable inside the 'bin/' folder\e[0m\n' "$p")||printf '\n\n\e[1;31mBuild failed, review log output above to identify and fix the issue.\e[0m\n'
Once it's done you'll have a .tar.gz archive in your home folder, you can extract it anywhere you'd like and run minetestserver from there like a portable installation.
My next step ist to upgrade my running 5.3 Server with the file from the tar.gz file.
Who is online
Users browsing this forum: No registered users and 6 guests