I tried to follow this answer on installing texlive in Ubuntu. I made sure there was nothing left from the system-wide installation
sudo apt-get remove texlive
sudo apt-get remove texlive-full
before doing that. I went through the installation and added the references
grep -n texbin /etc/environment
:PATH="/opt/texbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
and there is
$ ls /opt/texbin/tex
/opt/texbin/tex
However, when I
$ which tex
/usr/bin/tex
and if I remove that, I actually get an empty return.
I can't remember for the life of me how I installed that tex that seems to be lingering around. How can I remove those, or ensure that my freshly installed texlive 2016 takes priority?