Deinstallation of LaTeX on Linux
The following hints will help you to remove the installed LaTeX packages properly. Provided you have installed the LaTeX packages with your package manager.
# apt remove tex*
# pacman -Rcns `pacman -Qsq texlive`
$ rm -rf /usr/local/texlive/<YEAR>
$ rm -rf ~/.texlive<YEAR>