Get source here : https://pypi.org/project/python3-keybinder/#files Assuming that the source is in /home/tc/Downloads, cd /home/tc/Downloads tar zxf python3-keybinder-1.1.2.tar.gz cd python3-keybinder-1.1.2 python3 setup.py build python3 setup.py install --root=/tmp/python3-keybinder-1.1.2 for i in $(sudo find . -not -type 'd' | grep "__pycache__") do sudo rm -rf "$i" done cd /tmp mksquashfs python3-keybinder-1.1.2/ python3.6-keybinder.tcz mv python3.6-keybinder.tcz /home/tc