forked from kernc/logkeys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
51 lines (35 loc) · 1.41 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
logkeys keylogger - installation instructions
=============================================
Provided your GNU/Linux distribution doesn't include logkeys package
in its repositories, manual installation of logkeys from source is as
easy as cloning this repo or [downloading a zip of the
source](https://github.com/kernc/logkeys/archive/master.zip),
unzipping, configuring, and building.
Prerequisites
-------------
You need some tools to build the code from source:
# On Debian-based distros
apt-get update
apt-get install -y autotools
# On openSUSE
zypper install automake
zypper install gcc-c++
Build and Install
-----------------
$ unzip logkeys-master.zip # or use git clone
$ cd logkeys-master
$ ./autogen.sh # generate files for build
$ cd build # keeps the root and src dirs clean
$ ../configure
$ make
$ su # get root to install in system
$ make install # installs binaries, manuals and scripts
To uninstall logkeys, remove accompanying scripts and manuals:
$ make uninstall # in the same build dir
See README file for usage instructions, troubleshooting and other notes.
Cleaning after a build
----------------------
`autogen.sh` and `configure` generate many files which are ignored by
git. All of these files can be removed from the project, e.g. to
force a clean build, with the following:
git clean -xdf