As I dont have sudo or root access, I want to install Tex live at a different location but install-tl
doesn't have any option for this. Is there any other workaround?
Default Path is: /usr/local/texlive/2014
install-tl
looks for some enviroment variables when executed.
TEXLIVE_INSTALL_PREFIX
has a default value of /usr/local/texlive
and TEXLIVE_INSTALL_TEXDIR
of /usr/local/texlive/2014
.
Try to change those variable for the directory that you want to install, like:
TEXLIVE_INSTALL_PREFIX=/home/your_user/texlive
TEXLIVE_INSTALL_TEXDIR=/home/your_user/texlive/2014
I never tried this, but it might work.
You can read this and this for more information.
I did the following 3 steps
./install-tl
> Enter command: P
sed -i 's|/usr/local/|~/|g' texlive.profile
Modifies generated texlive.profile
to replace all occurances of /usr/local/
with ~/
./install-tl -profile texlive.profile
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With