The following installation has been performed with the following versions:
You can download the last version of logkeys here.
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
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?.
In the build dir, run the following command:
sudo make uninstall