From 8375d123bb60b8ef3b2721ffbf727801a0d42d6b Mon Sep 17 00:00:00 2001 From: sumoomus <67284897+sumoomus@users.noreply.github.com> Date: Mon, 29 Jun 2020 10:35:05 -0400 Subject: [PATCH] added installation instructions for Mac and Linux --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fb7af84..5d95462 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,48 @@ Anyways my account will probs be hidden for the next week or so idk how long thi - fly, noclip, wireframe, fast mode (https://github.com/MinetestClients/OpenClient/commit/fb1651b55ce379e0da37b33da91f9d9d3288e73b) # installation: -Apple & Linux: -look at github.com/minetest/minetest +Mac OS: +There are 2 easy ways you can install the latest version of OpenClient. The first is through brew install: https://github.com/MinetestClients/brewinstall (look in your /usr/local/Cellar folder to find minetest after you install it) +The second method is through OpenClient's releases: https://github.com/MinetestClients/OpenClient/releases/download/v1.1/OpenClient.dmg + +Linux: +1) Install dependencies: + +For Debian/Ubuntu users: + + 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 + +For Fedora users: + + sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libcurl-devel openal-soft-devel libvorbis-devel libXxf86vm-devel libogg-devel freetype-devel mesa-libGL-devel zlib-devel jsoncpp-devel irrlicht-devel bzip2-libs gmp-devel sqlite-devel luajit-devel leveldb-devel ncurses-devel doxygen spatialindex-devel bzip2-devel + +For Arch users: + + sudo pacman -S base-devel libcurl-gnutls cmake libxxf86vm irrlicht libpng sqlite libogg libvorbis openal freetype2 jsoncpp gmp luajit leveldb ncurses + +For Alpine users: + + sudo apk add build-base irrlicht-dev cmake bzip2-dev libpng-dev jpeg-dev libxxf86vm-dev mesa-dev sqlite-dev libogg-dev libvorbis-dev openal-soft-dev curl-dev freetype-dev zlib-dev gmp-dev jsoncpp-dev luajit-dev + +2) Download code (OpenClient & minetest_game) +` + wget https://github.com/MinetestClients/OpenClient/archive/v1.1.tar.gz + tar xf OpenClient-1.1.tar.gz + cd OpenClient-1.1 + cd games/ + wget https://github.com/minetest/minetest_game/archive/5.0.1.tar.gz + tar xf minetest_game-5.0.1.tar.gz + cd .. +` + +3) Build: +` + cmake . -DRUN_IN_PLACE=TRUE + make -j$(nproc) +` + +4) Run: +`./bin/minetest` Windows: 1) Download & Install the following: