Ubuntu – How to make ubuntu identify your latest texlive version (2015)


I have installed texlive 2015 but when i try to do tex -version the shell prints that the current version is TeX 3.1415926 (TeX Live 2013/Debian)

texlive 2015 has been installed under :/usr/local/texlive/2015

Best Answer

  1. Remove the version being installed via the Ubuntu repositories:

    sudo apt-get remove 'texlive*'
  2. Edit the path environment in /etc/environment:

    sudo nano /etc/environment

    Add the path to the texlive installation, e.g. for a 32-bit installation:


    or for a 64-bit installation:


    Replace /usr/local/texlive/2015/bin/i386-linux with the path in your system.

Related Question