Mercurial > hg > nnchat
annotate INSTALL @ 651:e862edb65b9d
Make XDG config dir default.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 26 Jan 2015 06:44:40 +0200 |
parents | cdb348e051b5 |
children | 2d4089c92939 |
rev | line source |
---|---|
38 | 1 Installation |
2 ------------ | |
589
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
3 NNChat requires a curses library, preferably NCurses. It is also possible |
350 | 4 to compile NNChat for Windows via MinGW and use PDCurses instead, but this |
5 includes certain complexities in build process (see Makefile.w32) | |
38 | 6 |
589
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
7 0) Check that you have the prerequisites: |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
8 |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
9 - GNU make |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
10 - GCC 4.3 or later, or LLVM clang 3.x |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
11 - binutils |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
12 - NCurses 5.x, OR PDCurses 3.4 or later |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
13 |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
14 On Debian or Ubuntu, you could try following to install the requirements: |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
15 |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
16 sudo apt-get install build-essential libncurses5-dev |
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
17 |
38 | 18 1) Edit Makefile (optional) |
19 | |
20 2) make / gmake | |
21 | |
589
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
22 3) Test by running ./nnchat --help |
350 | 23 |
24 There is no real installation step, you can manually copy the resulting | |
25 binary to /usr/local if you wish: | |
26 | |
589
cdb348e051b5
Update installation instructions.
Matti Hamalainen <ccr@tnsp.org>
parents:
350
diff
changeset
|
27 sudo install -m 755 nnchat /usr/local/bin |
350 | 28 |