summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorZetok Zalbavar <zexavexxe@gmail.com>2015-06-03 09:35:58 +0100
committerZetok Zalbavar <zexavexxe@gmail.com>2015-06-03 09:35:58 +0100
commit99a678dd2670a5b7f71b5821db7b6dc2eb9be28d (patch)
tree2c84a0e84b9a5508083bb04062396a284766f035 /INSTALL.md
parentb072c692e7cc38a123a465d00fc4ea9145d063b2 (diff)
Update INSTALL.md a bit
* add install instructions for Gentoo * adjust build instructions for presence of libsodium in some distros
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md28
1 files changed, 25 insertions, 3 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 549a3a4f..b7f1e5a0 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -2,6 +2,9 @@
2 2
3- [Installation](#installation) 3- [Installation](#installation)
4 - [Unix like](#unix) 4 - [Unix like](#unix)
5 - [Quick install](#quick-install)
6 - [Build manually](#build-manually)
7 - [Compile toxcore](#compile-toxcore)
5 - [OS X](#osx) 8 - [OS X](#osx)
6 - [Homebrew](#homebrew) 9 - [Homebrew](#homebrew)
7 - [Non-Homebrew](#non-homebrew) 10 - [Non-Homebrew](#non-homebrew)
@@ -24,16 +27,33 @@
24<a name="unix" /> 27<a name="unix" />
25###Most Unix like OSes: 28###Most Unix like OSes:
26 29
30#### Quick install:
31
32On Gentoo:
33```
34# layman -f && layman -a tox-overlay && emerge net-libs/tox
35```
36
37And you're done `:)`</br>
38If you happen to run some other distro which isn't made for compiling, there are steps below:
39
40#### Build manually
41
27Build dependencies: 42Build dependencies:
28 43
29Note: package fetching commands may vary by OS. 44Note: package fetching commands may vary by OS.
30 45
31On Ubuntu: 46On Ubuntu `< 15.04` / Debian `< 8`:
32 47
33```bash 48```bash
34sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm 49sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm
35``` 50```
36 51
52On Ubuntu `>= 15.04` / Debian `>= 8`:
53```bash
54sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm libsodium13 libsodium-dev
55```
56
37On Fedora: 57On Fedora:
38 58
39```bash 59```bash
@@ -55,7 +75,7 @@ Note, if you install from ports select NaCl for performance, and sodium if you w
55 75
56**For A/V support, also install the dependences listed in the [libtoxav] (#libtoxav) section.** 76**For A/V support, also install the dependences listed in the [libtoxav] (#libtoxav) section.**
57 77
58You should get and install [libsodium](https://github.com/jedisct1/libsodium): 78You should get and install [libsodium](https://github.com/jedisct1/libsodium). If you have installed `libsodium` from repo, ommit this step, and jump directly to [compiling toxcore](#compile-toxcore):
59```bash 79```bash
60git clone git://github.com/jedisct1/libsodium.git 80git clone git://github.com/jedisct1/libsodium.git
61cd libsodium 81cd libsodium
@@ -88,7 +108,9 @@ echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf
88sudo ldconfig 108sudo ldconfig
89``` 109```
90 110
91Then clone this repo and generate makefile: 111##### Compile toxcore
112
113Then clone this repo, generate makefile, and install `toxcore` system-wide:
92```bash 114```bash
93git clone git://github.com/irungentoo/toxcore.git 115git clone git://github.com/irungentoo/toxcore.git
94cd toxcore 116cd toxcore