Skip to content
Permalink
Browse files

Removed '$' symbols from the start of shell commands. (#7506)

  • Loading branch information...
RustyRaptor authored and nerzhul committed Jun 30, 2018
1 parent d7f873b commit 222866bab7e1b22245840fd2130122d2709b1cab
Showing with 18 additions and 18 deletions.
  1. +18 −18 README.md
@@ -125,57 +125,57 @@ Compiling

For Debian/Ubuntu:

$ sudo apt-get install build-essential 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
sudo apt-get install build-essential 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
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

#### Download

You can install git for easily keeping your copy up to date.
If you don’t want git, read below on how to get the source without git.
This is an example for installing git on Debian/Ubuntu:

$ sudo apt-get install git
sudo apt-get install git

For Fedora users:

$ sudo dnf install git
sudo dnf install git

Download source (this is the URL to the latest of source repository, which might not work at all times) using git:

$ git clone --depth 1 https://github.com/minetest/minetest.git
$ cd minetest
git clone --depth 1 https://github.com/minetest/minetest.git
cd minetest

Download minetest_game (otherwise only the "Minimal development test" game is available) using git:

$ git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game
git clone --depth 1 https://github.com/minetest/minetest_game.git games/minetest_game

Download source, without using git:

$ wget https://github.com/minetest/minetest/archive/master.tar.gz
$ tar xf master.tar.gz
$ cd minetest-master
wget https://github.com/minetest/minetest/archive/master.tar.gz
tar xf master.tar.gz
cd minetest-master

Download minetest_game, without using git:

$ cd games/
$ wget https://github.com/minetest/minetest_game/archive/master.tar.gz
$ tar xf master.tar.gz
$ mv minetest_game-master minetest_game
$ cd ..
cd games/
wget https://github.com/minetest/minetest_game/archive/master.tar.gz
tar xf master.tar.gz
mv minetest_game-master minetest_game
cd ..

#### Build

Build a version that runs directly from the source directory:

$ cmake . -DRUN_IN_PLACE=TRUE
$ make -j <number of processors>
cmake . -DRUN_IN_PLACE=TRUE
make -j <number of processors>

Run it:

$ ./bin/minetest
./bin/minetest

- Use `cmake . -LH` to see all CMake options and their current state
- If you want to install it system-wide (or are making a distribution package),

0 comments on commit 222866b

Please sign in to comment.
You can’t perform that action at this time.