License: LGPL 2.1 or Later
Github Repository | Download
Install
- Code: Select all
$ sudo apt-get install lua5.1 luarocks libzzip-dev
$ sudo luarocks install luazip
$ sudo luarocks install luafilesystem
$ sudo luarocks install luajson
# Alternatively you could use sudo luarocks install
$ git clone https://github.com/rubenwardy/mtpm/
$ cd mtpm
# You could skip this and use "./mtpm.lua" instead of "mtpm"
$ sudo make install
# You can skip this line if minetest is in ~/.minetest/
$ mtpm set minetest_root /path/to/minetest/
Usage
- Code: Select all
# Install multiple packages
$ mtpm install homedecor food tutorial
# Specify the type of a package
$ mtpm install food#mod
$ mtpm install tutorial#subgame
# Specify the author
$ mtpm install tenplus1/mobs
$ mtpm install PilzAdam/mobs
# Specify the repository
$ mtpm install carts@ModSearch
$ mtpm install boost_cart@minetest-bower
$ mtpm install technic_game@mtpm_sg
# From github
$ mtpm install PilzAdam/farming_plus@github
$ mtpm install https://github.com/PilzAdam/farming_plus
# From url
$ mtpm install https://example.com/archive.zip
# From file
$ mtpm install archive.zip
List of supported package repositories
- Minetest-Bower (based on MTPM Lists, but more accurate)
- MTPM Lists
- Krock's Mod Search
- Direct Github downloads
To Do
- Test windows support
- uninstall