There is no
texlive in ports but so we have to manually install it, its generally very simple.
1. Get TeX Live 2008 iso image.
For example
texlive2008-20080822.iso, you can find one with
texlive2008 keyword on torrents. Then mount it under
/mnt directory.
Code:
# mdconfig -a -t vnode -f texlive2008-20080822.iso
md0
# mount -t cd9660 /dev/md0 /mnt
2. Start the installer.
Code:
# cd /mnt
# ls bin | grep freebsd
amd64-freebsd
i386-freebsd
# ./install-tl
======================> TeX Live installation procedure <=====================
=======> Note: Letters/digits in <angle brackets> indicate menu items <=======
=======> for commands or configurable options <=======
Detected platform: Intel x86 with FreeBSD
<B> binary systems: 1 out of 15
<S> Installation scheme (scheme-full)
83 collections out of 84, disk space required: 1720 MB
Customizing installation scheme:
<C> standard collections
<L> language collections
<D> directories:
TEXDIR (the main TeX directory):
/usr/local/texlive/2008
TEXMFLOCAL (directory for site-wide local files):
/usr/local/texlive/texmf-local
TEXMFSYSVAR (directory for variable and automatically generated data):
/usr/local/texlive/2008/texmf-var
TEXMFSYSCONFIG (directory for local config):
/usr/local/texlive/2008/texmf-config
TEXMFHOME (directory for user-specific files):
~/texmf
<O> options:
[ ] use letter size instead of A4 by default
[X] create all format files
[X] install macro/font doc tree
[X] install macro/font source tree
[ ] create symlinks in standard directories
<V> set up for running from DVD
Other actions:
<I> start installation to hard disk
<H> help
<Q> quit
Enter command:
2.1 Read post install message.
Code:
See
/usr/local/texlive/2008/index.html
for links to documentation. The TeX Live web site (http://tug.org/texlive/)
contains any updates and corrections.
TeX Live is a joint project of the TeX user groups around the world;
please consider supporting it by joining the group best for you. The
list of groups is available on the web at http://tug.org/usergroups.html.
Add /usr/local/texlive/2008/texmf/doc/man to MANPATH.
Add /usr/local/texlive/2008/texmf/doc/info to INFOPATH.
Most importantly, add /usr/local/texlive/2008/bin/i386-freebsd
to your PATH for current and future sessions.
Welcome to TeX Live!
3. Modify your PATH variable.
Code:
% cat >> ${YOUR_SHELL_CONFIG} << EOF
export PATH=${PATH}:/usr/local/texlive/2008/bin/i386-freebsd
setenv PATH ${PATH}:/usr/local/texlive/2008/bin/i386-freebsd
EOF
% source ${YOUR_SHELL_CONFIG}
% echo ${PATH}
/usr/local/texlive/2008/bin/i386-freebsd:/sbin:/bin:(...)
Choose
setenv or
export suitably to your shell.
My master's thesis built with
texlive without any problems and looks the same as the one built using
tetex package.
If you would like to get
Tex Live 2009, the procedure will be similar I think, but TeX people did nit provided binaries for FreeBSD at 2009 version, so You will need to get these here:
http://tug.org/pipermail/tex-live/2009-November/023783.html (thanks to
Nikola Lečić)
There is also other way of installing
TeX Live, here:
http://code.google.com/p/freebsd-texlive/wiki/Installing