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