diff options
-rw-r--r-- | INSTALL.md | 28 |
1 files changed, 25 insertions, 3 deletions
@@ -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 | |||
32 | On Gentoo: | ||
33 | ``` | ||
34 | # layman -f && layman -a tox-overlay && emerge net-libs/tox | ||
35 | ``` | ||
36 | |||
37 | And you're done `:)`</br> | ||
38 | If you happen to run some other distro which isn't made for compiling, there are steps below: | ||
39 | |||
40 | #### Build manually | ||
41 | |||
27 | Build dependencies: | 42 | Build dependencies: |
28 | 43 | ||
29 | Note: package fetching commands may vary by OS. | 44 | Note: package fetching commands may vary by OS. |
30 | 45 | ||
31 | On Ubuntu: | 46 | On Ubuntu `< 15.04` / Debian `< 8`: |
32 | 47 | ||
33 | ```bash | 48 | ```bash |
34 | sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm | 49 | sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm |
35 | ``` | 50 | ``` |
36 | 51 | ||
52 | On Ubuntu `>= 15.04` / Debian `>= 8`: | ||
53 | ```bash | ||
54 | sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm libsodium13 libsodium-dev | ||
55 | ``` | ||
56 | |||
37 | On Fedora: | 57 | On 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 | ||
58 | You should get and install [libsodium](https://github.com/jedisct1/libsodium): | 78 | You 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 |
60 | git clone git://github.com/jedisct1/libsodium.git | 80 | git clone git://github.com/jedisct1/libsodium.git |
61 | cd libsodium | 81 | cd libsodium |
@@ -88,7 +108,9 @@ echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf | |||
88 | sudo ldconfig | 108 | sudo ldconfig |
89 | ``` | 109 | ``` |
90 | 110 | ||
91 | Then clone this repo and generate makefile: | 111 | ##### Compile toxcore |
112 | |||
113 | Then clone this repo, generate makefile, and install `toxcore` system-wide: | ||
92 | ```bash | 114 | ```bash |
93 | git clone git://github.com/irungentoo/toxcore.git | 115 | git clone git://github.com/irungentoo/toxcore.git |
94 | cd toxcore | 116 | cd toxcore |