[texhax] Problem with TeXLive after installation

Lars Madsen daleif at math.au.dk
Wed Mar 29 09:49:44 CEST 2017


exactly what solution are you refering to?


That export line I mention should of course be added to .profile and .bashrc in order to be permanent.


Note that in most cases .bashrc is not enough as programmes started from a menu or by double clicking a file, does not see any environment variables set via .bashrc


But .profile is executed at the very start of your login and thus any environment variables set there are also seen by programmes start are started via a menu.


Note that any changes to .profile will not be executed until next login


/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@math<http://au.dk/daleif@imf> / More information: http://au.dk/en/daleif@math<http://au.dk/en/daleif@imf>

________________________________
From: JUAN QUISPE <juanuni at gmail.com>
Sent: 29 March 2017 07:23
To: Lars Madsen
Subject: Re: [texhax] Problem with TeXLive after installation

Ok. Your suggestion solved the problem temporaly; this means: works only until that terminal
 dies. How I make this permanently?

2017-03-28 22:13 GMT-05:00 JUAN QUISPE <juanuni at gmail.com<mailto:juanuni at gmail.com>>:
Hello, thanks for your response.

1) I'm using Chakra Linux
2) ~/ftp.inf.utfsm.cl/pub/tex-archive/systems/texlive/tlnet/<http://ftp.inf.utfsm.cl/pub/tex-archive/systems/texlive/tlnet/>

Now I understand how this works. Your suggestion solved my problem.

On the other hand, I make the same procedure for install TeXLive 2016 in Ubuntu 14.04 32bits and I didn't need make export PATH=/usr/local/texlive/2016/bin/i386-linux:$PATH for TeXLive works fine.

Thanks again. Regards.

2017-03-28 9:30 GMT-05:00 Lars Madsen <daleif at math.au.dk<mailto:daleif at math.au.dk>>:

(1) which Linux variant are you using


(2) where exactly did you execute




PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH


?


If you just do this in a terminal, this setting only lives until that terminal dies.


To make it more permanent it is probably better to add it to .profile and perhaps also .bashrc (if you plan on ssh'ing to this linux box)


You should probably write it as


export PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH



/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@math<http://au.dk/daleif@imf> / More information: http://au.dk/en/daleif@math<http://au.dk/en/daleif@imf>

________________________________
From: texhax <texhax-bounces at tug.org<mailto:texhax-bounces at tug.org>> on behalf of JUAN QUISPE <juanuni at gmail.com<mailto:juanuni at gmail.com>>
Sent: 28 March 2017 05:41
To: texhax at tug.org<mailto:texhax at tug.org>
Subject: [texhax] Problem with TeXLive after installation

Hello, my name is John and I have a problem with TeXLive. I'm final GNU/Linux user and I follow https://www.tug.org/texlive/quickinstall.html for install TeXLive. I complete all the steps without problems. After install, in terminal I could run a hello-world tex file with pdflatex without problems.

The problem ocurrs after close the terminal and open another terminal window. TeXLive not appears installed and nor any thing related to it. Indeed a LaTeX editor can't find TeXLive after this was installed even when I could run pdflatex in terminal.

If I write in terminal pdflatex the output is: bash: pdflatex: no order found

I have TeXLive bins in the folder /usr/local/texlive/2016/bin/x86_64-linux and I suppose I have permission to write into /usr/local/texlive because I did

sudo setfacl -m u:myusername:rwx /usr/local/texlive

I did: PATH=/usr/local/texlive/2016/bin/x86_64-linux:$PATH ... is the correct way for do this?

I hope I'm not forgetting any relevant information to give me any suggestion. Sorry for my English. Regards.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20170329/81f630f5/attachment-0001.html>


More information about the texhax mailing list