-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
59 lines (37 loc) · 1.34 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
REQUIREMENTS
you need:
- C++ compiler
- make
- common system libraries and included files
- standard C and standard C++ libraries
- opensssl [1] version 3.0.15 or greater
- libthreadar [2] vesion 1.5.2 or more recent
- libdar [3] vers 7.0.0 (dar release 2.8.0) or more recent
[1] https://www.openssl.org/
[2] https://libthreadar.sourceforge.net/
[3] http://dar.linux.free.fr/
INSTALLATION
extract source package and run
./configure
to install webdar type (as root):
make install
Note: if upx is available and detected in the system at the time ./configure
is run, replace 'make install' by 'make install-strip' for the installed binary
to be the smallest possible (upx compressed without the symbol table)
It will be installed under /usr/local
you can specify another place using the the PREFIX
variable:
./configure --prefix=/usr
Last if you want to build a package for a distro, you can use
the DESTDIR variable in addition, and no more require root
priviledge:
make DESTDIR=/tmp install
If you want to uninstall webdar you can use the
'uninstall' target, DESTDIR and/or --prefix should
be the same as the one used at installation step:
make uninstall
or for example:
make DESTDIR=/tmp --prefix=/usr uninstall
What's next? Read the man page:
man webdar
or simpler, just run webdar and follow the displayed instructions