LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2017, 09:58 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
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!
 
Old 02-03-2017, 11:01 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
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

Last edited by Didier Spaier; 02-03-2017 at 01:09 PM.
 
Old 02-03-2017, 02:50 PM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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?
 
Old 02-03-2017, 03:09 PM   #4
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,264
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
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

Last edited by astrogeek; 02-03-2017 at 03:19 PM.
 
1 members found this post helpful.
Old 02-03-2017, 04:52 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thanks, I rebooted and all went well. I was about to do it but then I changed my mind.
 
Old 02-03-2017, 04:53 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Didier Spaier View Post
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.
 
Old 02-04-2017, 10:29 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by astrogeek View Post
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A good tex/latex editor in slackware 14.1? stf92 Slackware 18 02-03-2017 12:58 PM
Help with TeX - LaTeX simsam Ubuntu 7 09-24-2014 01:32 PM
Installing Latex tex-live Andrew Benton Linux - Software 1 08-22-2010 06:01 PM
vim file.tex !latex file.tex & pdfdvi file.dvi & xpdf -remote sname -reload Mol_Bolom Linux - General 0 07-09-2009 07:46 PM
Live CD contain TeX and/or LateX trainee Linux - Newbie 2 06-20-2006 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration