SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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
Last edited by Didier Spaier; 02-03-2017 at 01:09 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?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.