Printable Version of Topic
Click here to view this topic in its original format
Scientific Linux Forum.org > Software and applications > Texlive installation


Posted by: Jarok Nov 8 2016, 12:39 PM
Hello!!

I installedTeX Live in a SL7 x86_64 with Kde desktop; following these instructions:

http://www.tug.org/texlive/quickinstall.html
As root I run the script ./install-tl and gave no errors.

The packages can be found in the folder
CODE

/usr/local/texlive/2016/texmf-dist/tex/latex


I modified (still as root) the .bashrc file and added those folders to the path.

I tried to compile a simple .tex file:
CODE

\documentclass[a4paper,12pt]{article}
\begin{document}
Hello world!!
\end{document}

And compiled without errors producing a nice pdf file. But when I started to add some packages latex was not able to find them; despite the .sty can be found in the folders. Searching in Google I found some similar problems for Ubuntu users. The solution was to edit the .bashrc file...but that is not my case...I already edited it.
What can be the problem??

Thank you all!!

Posted by: Jarok Nov 9 2016, 11:00 AM
Hello again.

I found the solution to the problem:

when you write the path in .bashrc be sure that you give it in the correct order

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


Otherwise, the system will look in the system folders first and will never find the place where you installed texlive.

Posted by: Greystone Nov 28 2016, 01:27 PM
QUOTE (Jarok @ Nov 9 2016, 11:00 AM)
Hello again.

I found the solution to the problem: https://www.gabeba.com/testo-fuel-review-results

when you write the path in .bashrc be sure that you give it in the correct order

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


Otherwise, the system will look in the system folders first and will never find the place where you installed texlive.


Thanks Jarok!

Posted by: SeanKarr Jul 10 2018, 02:06 PM
QUOTE (Jarok @ Nov 9 2016, 11:00 AM)
Hello again.

I found the solution https://theskinnyvibes.com/phenq-reviews-and-results/ to the problem:

when you write the path in .bashrc be sure that you give it in the correct order

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


Otherwise, the system will look in the system folders first and will never find the place where you installed texlive.


I was facing the same problem, thanks for your instructions, I was able to solve it. My problem was also with the "PATH" command.

'
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)