| 1 |
libchardet Installsation Documentation |
| 2 |
|
| 3 |
Author: JoungKyun.Kim <http://oops.org> |
| 4 |
2015/12/11 |
| 5 |
|
| 6 |
1. Distribution support |
| 7 |
|
| 8 |
Ubuntu: from 14.04 |
| 9 |
apt-get install libchardet1 libchardet-dev |
| 10 |
|
| 11 |
Fedora: from Fedoar 23 |
| 12 |
dnf install libchardet libchardet-devel |
| 13 |
yum install libchardet libchardet-devel |
| 14 |
|
| 15 |
Mageia Cauldron : |
| 16 |
urpmi libchardet libchardet-devel |
| 17 |
|
| 18 |
Arch / ChakraOS : |
| 19 |
pacman -Syu; pacman -S libchardet |
| 20 |
|
| 21 |
|
| 22 |
2. Source compile |
| 23 |
|
| 24 |
2-1. Quick Install |
| 25 |
|
| 26 |
shell> ./configure |
| 27 |
shell> make |
| 28 |
shell> make install |
| 29 |
|
| 30 |
2-2. configure |
| 31 |
|
| 32 |
libchardet used GNU autoconf and no option except default option of |
| 33 |
gnu configure. And, you can use follow environment variables. |
| 34 |
|
| 35 |
CFLAGS, CXXFLAGS, DEFS, LIBS, LDFLAGS, CPPFLAGS, and so on. |
| 36 |
|
| 37 |
2-3. make |
| 38 |
|
| 39 |
you can enable with -j option. |
| 40 |
|
| 41 |
2-4. make install |
| 42 |
|
| 43 |
If use with DESTDIR environment, you can test install where you want. |
| 44 |
for example, execute `make DESTDIR=PATH install` |
| 45 |
|