-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathINSTALLING
More file actions
55 lines (34 loc) · 1.46 KB
/
Copy pathINSTALLING
File metadata and controls
55 lines (34 loc) · 1.46 KB
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
net-tools
INSTALLING
Please read the file `README' before you start with the installation of the
net-tools.
HACKERS WAY
-----------
cd /usr/src ; tar xvzf net-tools*.tar.gz
apt install libbluetooth-dev libselinux1-dev gettext bash kernel-headers build-essential
less Makefile ; make config ; make ; make -n install
sudo make install
CONFIGURE
---------
First of all, change into the net-tools directory.
Before you start with the Installation please have a look into the toplevel
Makefile. There are some configuration options with explanations.
To configure the compilation use "make config". The default answers should
be safe for most configurations (bluetooth and selinux required).
To accept all default answers, use
yes "" | make config
if you are confident your system has all required headers, you can use
the following command to install with all features:
yes | make config
Note: Econet, DECNet and STRIP are not contained in normal Linux header.
COMPILE
-------
To compile simply use "make -j".
There should be no warnings or errors. (see TODO)
on some Musl systems like Alpine use "LDLIBS=-lintl make" instead.
INSTALLATION
------------
If you want to install the binaries use "make install" as root.
To change the default permissions and ownerships of the installed binaries and
manpages edit the Makefile. You can test the installation with "make -n install".
This will tell make: Don't run any commands, just print them.