DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th December 2008
Gates Gates is offline
New User
 
Join Date: Jul 2008
Posts: 4
Default latex

Hello

What is the proper way of installing latex? I installed it via print/latex port, but now it comlies about latex pacakges in my latex source file when I'm running it!

It seems that new istallation have deleted all latex packages. I'm depressed!

Last edited by Gates; 17th December 2008 at 12:54 AM.
Reply With Quote
  #2   (View Single Post)  
Old 17th December 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Personally, I would suggest installing TexLive manually from DVD ISO -> it is trivial.

FreeBSD is based on teTeX I believe, and for better or worse ports requiring a tex or latex dist will usually suck it in (IDEs); so path manipulation may be necessary if you use TexLive. As to any output you get off FreeBSDs setup, no one here is physic lol
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 17th December 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

I have used LaTeX for my master's thesis [ http://toya.net.pl/~vermaden/tmp/thesis.pdf ] and only thing that I had to do was pkg_add -r tetex (same package on OpenSolaris) and everything worked out of the box.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #4   (View Single Post)  
Old 17th December 2008
Oko's Avatar
Oko Oko is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 1,102
Default

Quote:
Originally Posted by Gates View Post
Hello

What is the proper way of installing latex? I installed it via print/latex port, but now it comlies about latex pacakges in my latex source file when I'm running it!

It seems that new istallation have deleted all latex packages. I'm depressed!
Proper way of installing LaTeX/TeX on FreeBSD is to use teTeX meta port which will pull all necessary packages. TeTeX used to be standard Unix LaTeX/TeX distribution which is unfortunately dead since early 2005. The current standard LaTeX/TeX distribution for Unix is TeXLive which is not available for FreeBSD. If you just need basic to intermediate stuff teTeX might be sufficient. If you are advanced user you do not want to waist your time with teTeX.

As the name suggests TeXLive is a live DVD and thus probably the best way to use it on FreeBSD is as live DVD. It comes with the installation script but hand installing anything is just opening can of warms as FreeBSD packages are designed around teTeX. Your millage may vary but I would not install TeXLive on FreeBSD machines in production as it is going to brake the system sooner or latter.

The easiest solution is to use OpenBSD. You will get all of TeXLive simply by typing

Code:
pkg_add texlive_texmf-full-2007p1
if your PKG_PATH variable is properly set up.

On net NetBSD you can install OpenBSD version of TeXLive using pkgsrc.
The same goes on DragonFly of course.

You have probably used old LaTeX port which is obsolete for 10 years. I have no clue why FreeBSD
committers keep those ports in the port tree (I think I could easily find 1000-2000 of them) as the older versions of FreeBSD are not officially supported. The officially supported versions of FreeBSD are only 6.4 and 7.1 so I see no purpose of keeping outdated software.

Last edited by Oko; 17th December 2008 at 05:21 PM.
Reply With Quote
  #5   (View Single Post)  
Old 17th December 2008
Gates Gates is offline
New User
 
Join Date: Jul 2008
Posts: 4
Default

Code:
kurat# pkg_add -rv tetex
scheme:   [ftp]
user:     []
password: []
host:     [ftp.freebsd.org]
port:     [0]
document: [/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/tetex.tbz]
---> ftp.freebsd.org:21
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
<<< 220 Welcome to freebsd.isc.org.
>>> USER anonymous
<<< 331 Please specify the password.
>>> PASS kurat98@kurat.elion.ee
<<< 230 Login successful.
>>> PWD
<<< 257 "/"
>>> CWD pub/FreeBSD/ports/i386/packages-7.0-release/Latest
<<< 250 Directory successfully changed.
>>> MODE S
<<< 200 Mode set to S.
>>> TYPE I
<<< 200 Switching to Binary mode.
setting passive mode
>>> PASV
<<< 227 Entering Passive Mode (204,152,184,73,55,27)
opening data connection
initiating transfer
>>> RETR tetex.tbz
<<< 550 Failed to open file.
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/tetex.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/tetex.tbz' by URL
pkg_add: 1 package addition(s) failed
kurat#
But
Code:
kurat# cd /usr/ports/print/teTeX
kurat# make install clean
solved my problems and now I can continue with my schoolworks:|

Last edited by Gates; 17th December 2008 at 09:37 PM.
Reply With Quote
  #6   (View Single Post)  
Old 18th December 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Quote:
Originally Posted by Gates View Post
But
Code:
kurat# cd /usr/ports/print/teTeX
kurat# make install clean
solved my problems and now I can continue with my schoolworks:|
Propably you need to pkg_add -r teTeX then.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick