How to obtain the FreeBSD minetest-server executable?

Post Reply
PJ568
New member
Posts: 1
Joined: Fri Jan 10, 2025 05:06
GitHub: PJ-568
In-game: PJ568

How to obtain the FreeBSD minetest-server executable?

by PJ568 » Post

I have a FreeBSD server without root access, sudo privileges, or Docker.
I attempted to extract

Code: Select all

minetest_game-5.8.0.20241016.pkg
, but it doesn’t seem to include the executable file.
How can I obtain a compiled executable of

Code: Select all

minetest-server
to run on this server?

Thanks in advance,
PJ568.

User avatar
HubTou
Member
Posts: 22
Joined: Thu Nov 14, 2024 20:55
GitHub: HubTou
In-game: HubTou
Location: France
Contact:

Re: How to obtain the FreeBSD minetest-server executable?

by HubTou » Post

Hello,

For general situations, I made a tutorial about Luanti server installation on FreeBSD.

For your specific, rootless, case, you can:
  • follow the Luanti general instructions for manual installation.
  • fetch and unpack the source code:

    Code: Select all

    fetch https://github.com/minetest/minetest/archive/refs/tags/5.10.0.tar.gz
    tar vxzf 5.10.0.tar.gz
    cd minetest-5.10.0
    
  • Starts compiling (this will fail until you get all the third parties dependencies):

    Code: Select all

    cmake . -DRUN_IN_PLACE=TRUE
    make -j$(nproc)
    
  • Get inspiration from the FreeBSD port in /usr/ports/games/luanti on how to solve the multiple dependencies.
This will be quite painful until you install everything required, whereas as root you just do:

Code: Select all

pkg install luanti
Good luck!

Post Reply