cd /home/tc wget https://pypi.org/packages/source/u/urwid/urwid-2.1.0.tar.gz tar xf urwid-2.1.0.tar.gz cd urwid-2.1.0 python3.6 setup.py build sudo python3.6 setup.py install --root=/tmp/urwid-2.1.0 cd /tmp/urwid-2.1.0 for i in $(sudo find . -not -type d | grep "__pycache__") do rm -rf "$i" done cd /tmp sudo mksquashfs urwid-2.1.0 python3.6-urwid.tcz