I downloaded texlive 2015 from the Tex Users Group web and successfully installed. After installation I added these lines in my .bashrc:

PATH=/usr/local/texlive/2015/bin/x68_64-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2015/texmf-dist/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2015/texmf-dist/doc/info:$INFOPATH; export INFOPATH  

However when I try to run it I get:

~$ latex
The program LaTeX is currently not installed. You can install it by typing:
sudo apt-get install texlive-latex-base

Same using latex --version.

This is a clean installation on a x64 Ubuntu 14.04 system. I have successfully installed latex 2013 (and previous versions) before in other machines just with ./install-tl and setting the PATH. Any idea what could be the problem?


echo $PATH gives me:

  • Doesn't look like you've actually added it to the path: what does for example echo $PATH or command -v latex give?
    – Joseph Wright
    May 4, 2016 at 18:26
  • I'll edit my question with the output from echo $PATH. No results for command -v latex May 4, 2016 at 18:54
  • Case matters, you are exporting path in lower case. Also, move this to dot profile, log out and in again. It does not belong in bashrc (will give you headache later on). Btw: are you using standard Ubuntu, no switch to exotic shells?
    – daleif
    May 4, 2016 at 18:59
  • 1
    As observed, you want x86_64 in those paths, not x68_64
    – Joseph Wright
    May 4, 2016 at 19:02
  • @JosephWright could have been days and I still would not see it. Thanks a lot! May 4, 2016 at 19:09

1 Answer 1


I don't think your .bashrc is correct. Try reading this post here on how to do it.

In particular your PATH variable should be set like this:


without the semicolon at the end. You also don't need to export.

I believe you have made a typo in your post. It should be x86_64-linux and not x68_64-linux as you have written!

After doing that, don't forget to open a new shell before you test if it worked.

  • I did as you suggested but same result. Also read the post and tried to do it in .profile but still same result May 4, 2016 at 18:52
  • Yes, the x68_64-linux was the problem as other user also suggested. Thanks! May 4, 2016 at 19:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .