另附上个人手记:这样卸载并不干净,建议再手动搜寻下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