diff options
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -18,6 +18,14 @@ Build dependencies: | |||
18 | ```bash | 18 | ```bash |
19 | apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev cmake checkinstall | 19 | apt-get install build-essential libtool autotools-dev automake libconfig-dev ncurses-dev cmake checkinstall |
20 | ``` | 20 | ``` |
21 | |||
22 | On Fedora: | ||
23 | |||
24 | ```bash | ||
25 | yum groupinstall "Development Tools" | ||
26 | yum install libtool autoconf automake libconfig-devel ncurses-devel cmake | ||
27 | ``` | ||
28 | |||
21 | Note that `libconfig-dev` should be >= 1.4. | 29 | Note that `libconfig-dev` should be >= 1.4. |
22 | 30 | ||
23 | You should get and install [libsodium](https://github.com/jedisct1/libsodium): | 31 | You should get and install [libsodium](https://github.com/jedisct1/libsodium): |
@@ -31,6 +39,20 @@ sudo checkinstall --install --pkgname libsodium --pkgversion 0.4.2 --nodoc | |||
31 | sudo ldconfig | 39 | sudo ldconfig |
32 | ``` | 40 | ``` |
33 | 41 | ||
42 | Or if checkinstall is not easily available for your distribution (e.g. Fedora), | ||
43 | this will install the libs to /usr/local/lib and the headers to /usr/local/include: | ||
44 | |||
45 | ```bash | ||
46 | git clone git://github.com/jedisct1/libsodium.git | ||
47 | cd libsodium | ||
48 | git checkout tags/0.4.2 | ||
49 | ./autogen.sh | ||
50 | ./configure | ||
51 | make check | ||
52 | sudo make install | ||
53 | ``` | ||
54 | |||
55 | |||
34 | Then clone this repo and generate makefile: | 56 | Then clone this repo and generate makefile: |
35 | ```bash | 57 | ```bash |
36 | git clone git://github.com/irungentoo/ProjectTox-Core.git | 58 | git clone git://github.com/irungentoo/ProjectTox-Core.git |