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

master
RustyRaptor 2018-06-30 04:01:56 -06:00 committed by Loïc Blot
parent d7f873bc8d
commit 222866bab7
1 changed files with 18 additions and 18 deletions

View File

@ -125,11 +125,11 @@ Compiling
For Debian/Ubuntu: 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: 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 #### Download
@ -137,45 +137,45 @@ You can install git for easily keeping your copy up to date.
If you dont want git, read below on how to get the source without git. If you dont want git, read below on how to get the source without git.
This is an example for installing git on Debian/Ubuntu: This is an example for installing git on Debian/Ubuntu:
$ sudo apt-get install git sudo apt-get install git
For Fedora users: 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: 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 git clone --depth 1 https://github.com/minetest/minetest.git
$ cd minetest cd minetest
Download minetest_game (otherwise only the "Minimal development test" game is available) using git: 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: Download source, without using git:
$ wget https://github.com/minetest/minetest/archive/master.tar.gz wget https://github.com/minetest/minetest/archive/master.tar.gz
$ tar xf master.tar.gz tar xf master.tar.gz
$ cd minetest-master cd minetest-master
Download minetest_game, without using git: Download minetest_game, without using git:
$ cd games/ cd games/
$ wget https://github.com/minetest/minetest_game/archive/master.tar.gz wget https://github.com/minetest/minetest_game/archive/master.tar.gz
$ tar xf master.tar.gz tar xf master.tar.gz
$ mv minetest_game-master minetest_game mv minetest_game-master minetest_game
$ cd .. cd ..
#### Build #### Build
Build a version that runs directly from the source directory: Build a version that runs directly from the source directory:
$ cmake . -DRUN_IN_PLACE=TRUE cmake . -DRUN_IN_PLACE=TRUE
$ make -j <number of processors> make -j <number of processors>
Run it: Run it:
$ ./bin/minetest ./bin/minetest
- Use `cmake . -LH` to see all CMake options and their current state - 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), - If you want to install it system-wide (or are making a distribution package),