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