LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-31-2008, 08:11 AM   #1
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Rep: Reputation: 16
how can i install latex packages?


I downloaded a latex package, in the package there are some .sly and .cts files, but how do i install them?
 
Old 05-31-2008, 08:22 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
sly and cts? Not sty and cls?

First of course you need a TeX and LaTeX installation.
'texlive' seems to be the current favorite (tetex died and I can't remember why)
Then you need to choose between LaTeX 2.09 or 3. (I still use 2.09 - I can't even remember what '3' is about now.)

Then you read the documentation to find out where the sty/cls files are kept (system-wide) and where you can put yours if you only want a per-user set.
 
Old 05-31-2008, 11:20 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Why not use the slackware 'tetex' packages ?
(It's on cd 1) slackware/t
 
Old 05-31-2008, 12:15 PM   #4
konqi
Member
 
Registered: Oct 2007
Distribution: Gentoo, Slackware
Posts: 162

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by pinniped View Post
sly and cts? Not sty and cls?
Yes you are right!


And i don't want to install latex itself, because i already installed it. I want to install some extra functionality.
 
Old 05-31-2008, 02:28 PM   #5
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 507

Rep: Reputation: 36
Why not to try Kile, the KDE latex editor? Homepage here.
 
Old 06-01-2008, 04:18 AM   #6
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
"i don't want to install latex itself, because i already installed it"

Unfortunately, there are no definite rules on how the whole TeX system is set out. It was all a huge horrible mess at one stage, which is why Karl Berry wrote 'kpathsea' (and Thomas Esser created teTeX).

For TeX distributions which use kpathsea (probably all modern distributions), you have a systemwide 'TEXMF' directory and each user can create their own local 'TEXMF' directory.
For system-wide changes, you have to find out where your system hides the sty and cls files - put your sty and cls files somewhere appropriate, and run 'texhash' to update things for kpathsea. I think you can also configure TeX (run texconfig-sys on teTeX systems) and have your own system-wide TEXMF directory to use in addition to what's installed by your distro's packaging tools.

For an example of the mess (unfortunately, necessary to maintain UNIX FSH standards), in Debian, the system-wide texmf directory (for config info only) is /etc/texmf. Some programs put a few items into /usr/share/texmf, but most things are in /var/lib/texmf.

happy hunting
 
Old 06-16-2008, 12:46 PM   #7
Kamoflauge
LQ Newbie
 
Registered: Jan 2008
Location: UK
Distribution: SL4.4, Ubuntu 7.10
Posts: 28

Rep: Reputation: 15
For more details on installing LaTeX packages on older systems see:

http://www.ctan.org/installationadvice/

Whatever you do, don't use 2.09. Would you use RH 6.4 ? Would you use a sliderule ? ...

tetex is no longer being supported and people using it will have to change sooner or later. Ubuntu and Debian now offer TeXLive from their package repositories and Fedora and RHEL are in the process of moving to TeXLive. If you're using windows, have a look at WinEdt and MikTeX.

Hope this helps.
 
  


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
Updating Latex packages Gulumbe Mandriva 1 12-01-2006 01:16 AM
HowTo update Latex/Tex Packages cmdrraycoo Slackware 8 01-30-2006 06:37 PM
LaTeX commands: texi2pdf, latex, dvipdf kaon Linux - Software 7 01-23-2005 03:32 PM
how do i install latex for redhat 9? allan_y Linux - Newbie 1 05-20-2004 02:26 AM
latex install dmw Linux - Newbie 1 04-13-2002 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:10 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