I installed an application from GitHub, namely https://github.com/wavexx/screenkey. I installed it with

sudo ./setup.py install

Now I want to remove it.

What I tried so far:

sudo apt-get remove screenkey


locate screenkey

and then

rm -r [the file I found]

According to this Stack Overflow question you can record python script installed files by sudo python setup.py --record ~/Desktop/installed_files, if you have python-distutils-extra installed. So do:

sudo apt-get install python-distutils-extra
sudo python setup.py --record ~/Desktop/installed_files
xargs -a ~/Desktop/installed_files.txt rm -rvf

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.