How to install logkeys (keyboard sniffer) on Ubuntu?

Version

The following installation has been performed with the following versions:

You can download the last version of logkeys here.

Installation

First install compilers:

sudo apt-get install build-essential

Download source package:

wget https://github.com/kernc/logkeys/archive/master.zip
unzip master.zip  
cd logkeys-master/  

Build an install logkeys:

./autogen.sh
cd build         
../configure
make
sudo make install 

Run locale-gen to generate localisation files:

sudo locale-gen

Check

If installation was successfull, the following command should display help page:

logkeys -?

You can now use logkeys by following the instructions from this page : How to use logkeys (keyboard sniffer) on Ubuntu?.

Uninstall

In the build dir, run the following command:

sudo make uninstall 

See also


Last update : 12/07/2019