Mercurial > hg > nnchat
comparison INSTALL @ 589:cdb348e051b5
Update installation instructions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 26 Jul 2013 15:45:05 +0300 |
parents | 768a8efb1bed |
children | 2d4089c92939 |
comparison
equal
deleted
inserted
replaced
588:573a3ad30938 | 589:cdb348e051b5 |
---|---|
1 Installation | 1 Installation |
2 ------------ | 2 ------------ |
3 NNChat requires a curses library, preferably ncurses. It is also possible | 3 NNChat requires a curses library, preferably NCurses. It is also possible |
4 to compile NNChat for Windows via MinGW and use PDCurses instead, but this | 4 to compile NNChat for Windows via MinGW and use PDCurses instead, but this |
5 includes certain complexities in build process (see Makefile.w32) | 5 includes certain complexities in build process (see Makefile.w32) |
6 | |
7 0) Check that you have the prerequisites: | |
8 | |
9 - GNU make | |
10 - GCC 4.3 or later, or LLVM clang 3.x | |
11 - binutils | |
12 - NCurses 5.x, OR PDCurses 3.4 or later | |
13 | |
14 On Debian or Ubuntu, you could try following to install the requirements: | |
15 | |
16 sudo apt-get install build-essential libncurses5-dev | |
6 | 17 |
7 1) Edit Makefile (optional) | 18 1) Edit Makefile (optional) |
8 | 19 |
9 2) make / gmake | 20 2) make / gmake |
10 | 21 |
11 3) ./nnchat --help | 22 3) Test by running ./nnchat --help |
12 | 23 |
13 There is no real installation step, you can manually copy the resulting | 24 There is no real installation step, you can manually copy the resulting |
14 binary to /usr/local if you wish: | 25 binary to /usr/local if you wish: |
15 | 26 |
16 $ sudo install -m 755 nnchat /usr/local/bin | 27 sudo install -m 755 nnchat /usr/local/bin |
17 | 28 |