LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where is tex/latex (slackware 12.x) (https://www.linuxquestions.org/questions/slackware-14/where-is-tex-latex-slackware-12-x-4175598899/)

stf92 02-03-2017 09:58 AM

Where is tex/latex (slackware 12.x)
 
Hi: I removed texlive (removepkg) and reinstalled tetex. But now, when I type 'tex' or 'latex' I get 'Command not found'. Looking at /var/log/packages/tetex-3.0-i486-8 I do not find a single binary executable!

Didier Spaier 02-03-2017 11:01 AM

To find the binaries, type:

Code:

cd /var/log/packages
grep /bin/ tetex*|sed s@.*:@/@

PS additionally for a Slackware 12.x you installed a wrong package as according to http://packages.slackware.com/ tetex-3.0-i486-8 was first shipped in Slackware 13.1

bassmadrigal 02-03-2017 02:50 PM

I'm not familiar enough with that package, and I'm too lazy to look into it, but it is possible the binaries aren't in the normal locations (like /usr/bin/ or /bin/). It is possible they're located within the program's directory and it updates the PATH variable through something in /etc/profile.d/ (like with jre/jdk). Have you tried logging out and logging back in?

astrogeek 02-03-2017 03:09 PM

LaTeX is a TeX macro package provided by TeX, or tetex-3.0 package in Slackware 12.1.

Code:

/usr/share/texmf/bin/latex -> pdfetex
Make sure /usr/share/texmf/bin is on your PATH.

If you just reinstalled you may want to log out then loign again to pick that up in the environment.

It should be set in...

Code:

/etc/profile.d/tetex.sh

stf92 02-03-2017 04:52 PM

Thanks, I rebooted and all went well. I was about to do it but then I changed my mind.

stf92 02-03-2017 04:53 PM

Quote:

Originally Posted by Didier Spaier (Post 5664554)
To find the binaries, type:

Code:

cd /var/log/packages
grep /bin/ tetex*|sed s@.*:@/@

PS additionally for a Slackware 12.x you installed a wrong package as according to http://packages.slackware.com/ tetex-3.0-i486-8 was first shipped in Slackware 13.1

I meant slackware 14, beg your pardon. Thanks for your post anyways.

stf92 02-04-2017 10:29 AM

Quote:

Originally Posted by astrogeek (Post 5664666)
LaTeX is a TeX macro package provided by TeX, or tetex-3.0 package in Slackware 12.1.

Code:

/usr/share/texmf/bin/latex -> pdfetex
Make sure /usr/share/texmf/bin is on your PATH.

If you just reinstalled you may want to log out then loign again to pick that up in the environment.

It should be set in...

Code:

/etc/profile.d/tetex.sh

By the way, there's a symbol \mid in latex, and I have listed a \nmid (the negation of mid) in an old latex reference card. But \nmid causes the latex command to issue and error! Furthermore, in Lyx, in the list in the Help there is \mid but no \nmid! Any possible explanation?


All times are GMT -5. The time now is 01:36 AM.