How do I install Tex in a different directory than the default?
Since I don't have sudo or root access, I want to install Tex live elsewhere, but install-tl
don't have any option to do so. Is there any other workaround?
Default path: /usr/local/texlive/2014
install-tl
looks for some environment variables on execution.
TEXLIVE_INSTALL_PREFIX
has the default /usr/local/texlive
and TEXLIVE_INSTALL_TEXDIR
/usr/local/texlive/2014
.
Try changing this variable for the directory you want to set, for example:
TEXLIVE_INSTALL_PREFIX=/home/your_user/texlive
TEXLIVE_INSTALL_TEXDIR=/home/your_user/texlive/2014
I've never tried this, but it might work.
You can read this and this for more information.