另附上個人手記:這樣卸載並不乾淨,建議再手動搜尋下tex和tlmgr,再刪一次
sudo apt-get purge texlive*
rm -rf /usr/local/texlive/2016 and rm -rf ~/.texlive2016
rm -rf /usr/local/share/texmf
rm -rf /var/lib/texmf
rm -rf /etc/texmf
sudo apt-get remove tex-common --purge
rm -rf ~/.texlive