From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.

Minetest is an infinite-world block sandbox game and game engine that is heavily inspired by Minecraft and InfiniMiner.


USE flags

Support for minetest server is now enabled via the server USE flag.

USE flags for games-engines/minetest A free open-source voxel game engine with easy modding and game creation

client Build Minetest client
curl Add support for client-side URL transfer library
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
leveldb Enable LevelDB backend
ncurses Add ncurses support (console display library)
nls Add Native Language Support (using gettext - GNU locale utilities)
postgres Add support for the postgresql database
prometheus Enable prometheus client support
redis Enable redis backend via dev-libs/hiredis
server Build Minetest server
sound Enable sound support
spatial Enable SpatialIndex AreaStore backend
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)


root #emerge --ask games-engines/minetest



  • /etc/minetest/minetest.conf - Location of configuration file necessary to successfully start a minetest server (this file must be created!).
  • /etc/init.d/minetest-server - Run script for OpenRC.
  • /etc/conf.d/minetest-server - Configuration run script for OpenRC.


Creating the /etc/minetest/minetest.conf is necessary in order to proceed with running a minetest server.


The services instructions are for systems that will be running a server. Users who are connecting to a server can proceed to the usage section below.

A configuration file must be created at /etc/minetest/minetest.conf before the minetest service will start.


root #rc-service minetest-server start

To start the minetest server at system boot:

root #rc-update add minetest-server default


To start the server, issue the following:

root #systemctl start minetest-server

If the minetest server should automatically start when the system reboots, run:

root #systemctl enable minetest-server


The server is not running

If the server is not running, the server status should be checked.


root #rc-service minetest-server status


root #systemctl status minetest-server



root #emerge --ask --depclean --verbose games-engines/minetest

See also

  • Games — a landing page for many of the games (especially open source variants) available in Gentoo's main ebuild repository.