I have two different versions of TexLive: the Ubuntu binaries for TexLive 2012, which live in usr/share
, and TexLive 2013 which lives in usr/local
. As per instructions here, my PATH now looks like the following:
echo $PATH
/usr/local/texlive/2013/bin/x68_64-linux:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
The PATH is set in both my .bashrc and .profile files by
PATH=/usr/local/texlive/2013/bin/x68_64-linux:$PATH
export $PATH
Yet, whenever I run pdflatex or xelatex, it is taking the Ubuntu TexLive 2012 versions, while I need TexLive 2013. (specifically, running xelatex my_example.tex
results in some errors like LaTeX Error: File `unicode-math.sty' not found.
)
My TexLive 2013 does exist: ls -l /usr/local/texlive/2013/bin/x68_64-linux
returns the following.
To use TexLive 2013, I need to manually run something like: /usr/loca/texlive/2013/bin/x68_64-linux/xelatex my_example.tex
(this does not return the unicode-math errors and generates the pdf nicely).
Also (tlmgr is not in Ubuntu distributions of TexLive):
tlgmr
No command 'tlmgr' found, did you mean:
Command 'rlmgr' from package 'qdbm-util' (universe)
Command 'vlmgr' from package 'qdbm-util' (universe)
tlmgr: command not found
But:
/usr/local/texlive/2013/bin/x86_64-linux/tlmgr
tlmgr: missing action; try --help if you need it.
How can I set my PATH correctly that it takes TexLive 2013 as default?
which latex
. Do you for instance have proper read/write permissions for all binaries in/usr/local/texlive/2013/bin/x68_64-linux
? – bluenote10 Mar 18 '14 at 19:47