I wouldn't recommend running the torch removal shell (https://raw.githubusercontent.com/torch/ezinstall/master/clean-old.sh) without checking that you don't have files with these 2 and 3 character combinations in your /usr/local/lib folder.
rm -f /usr/local/lib/{lua,TH}