Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Texlive installation, Packages are installed but not found
Jarok
 Posted: Nov 8 2016, 12:39 PM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 3786
Joined: 6-November 16









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!!
PM
^
Jarok
 Posted: Nov 9 2016, 11:00 AM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 3786
Joined: 6-November 16









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.
PM
^
Greystone
 Posted: Nov 28 2016, 01:27 PM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 3794
Joined: 28-November 16









QUOTE (Jarok @ Nov 9 2016, 11:00 AM)
Hello again.

I found the solution to the problem: it's called testo fuel

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!
PM
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll