From 99a678dd2670a5b7f71b5821db7b6dc2eb9be28d Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Wed, 3 Jun 2015 09:35:58 +0100 Subject: Update INSTALL.md a bit * add install instructions for Gentoo * adjust build instructions for presence of libsodium in some distros --- INSTALL.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'INSTALL.md') diff --git a/INSTALL.md b/INSTALL.md index 549a3a4f..b7f1e5a0 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -2,6 +2,9 @@ - [Installation](#installation) - [Unix like](#unix) + - [Quick install](#quick-install) + - [Build manually](#build-manually) + - [Compile toxcore](#compile-toxcore) - [OS X](#osx) - [Homebrew](#homebrew) - [Non-Homebrew](#non-homebrew) @@ -24,16 +27,33 @@ ###Most Unix like OSes: +#### Quick install: + +On Gentoo: +``` +# layman -f && layman -a tox-overlay && emerge net-libs/tox +``` + +And you're done `:)`
+If you happen to run some other distro which isn't made for compiling, there are steps below: + +#### Build manually + Build dependencies: Note: package fetching commands may vary by OS. -On Ubuntu: +On Ubuntu `< 15.04` / Debian `< 8`: ```bash sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm ``` +On Ubuntu `>= 15.04` / Debian `>= 8`: +```bash +sudo apt-get install build-essential libtool autotools-dev automake checkinstall check git yasm libsodium13 libsodium-dev +``` + On Fedora: ```bash @@ -55,7 +75,7 @@ Note, if you install from ports select NaCl for performance, and sodium if you w **For A/V support, also install the dependences listed in the [libtoxav] (#libtoxav) section.** -You should get and install [libsodium](https://github.com/jedisct1/libsodium): +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): ```bash git clone git://github.com/jedisct1/libsodium.git cd libsodium @@ -88,7 +108,9 @@ echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf sudo ldconfig ``` -Then clone this repo and generate makefile: +##### Compile toxcore + +Then clone this repo, generate makefile, and install `toxcore` system-wide: ```bash git clone git://github.com/irungentoo/toxcore.git cd toxcore -- cgit v1.2.3