-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 TeX Live 2012 on FreeBSD http://anthesphoria.net/FreeBSD/TeXLive-2012/bin/ Contents - -------- 1. About this repository 2. Technical details 3. How to use these binaries: a quick guide 4. Support for old FreeBSD versions 5. Other TeX Live/FreeBSD resources on anthesphoria.net 6. RMD160 checksums 1. About this repository ======================== TeX Live 2012 supports FreeBSD. The files amd64-freebsd-tl2012.tar.xz i386-freebsd-tl2012.tar.xz contain the binaries you get in the official TeX Live 2012 release. These binaries are prepared so that if you 1) use FreeBSD 7.*, 8.*, 9.* or 10-CURRENT on i386 or amd64 and 2) don't use asy, xvdi or xindy everything will work out of the box. Otherwise, please continue reading. * If you use FreeBSD 6.* or FreeBSD 5.*, you have to use the binaries from this repository. Users of these old versions might find sections 3-4 of this document useful. * If you use some architecture other than i386 and amd64, you must compile the sources yourself. * Users of asy, xindy and xdvi: - if you use FreeBSD 8.*, 9.* or 10-CURRENT please install misc/compat7x port. * Users of biber: - the binary sets for FreeBSD 6.* do not contain biber. Please use the biber binaries provided in this repository: http://anthesphoria.net/FreeBSD/Biber/ - if you use FreeBSD 7.0, the biber binaries from TeX Live 2012 will not work; overwrite them with biber binaries for FreeBSD-6 from the above mentioned repository and install misc/compat6x port; - if you use FreeBSD 5.*, you must compile biber yourself. These binaries will be updated if a need arises (e.g. if significant changes occur in FreeBSD Ports Collection the binaries are built against, if a possible optimisation is found or if somebody reports some problems). If you encounter problems running these binaries, do not hesitate to write to me and/or to the TeX Live mailing lists. 2. Technical details ==================== TeX Live 2012 sources (SVN rev 26919) are built in clean jail(8)s, with minimal number of ports installed with their dependencies, using the _recent_ ports tree; these are graphics/libglut, devel/gmake, x11/libX11, x11-toolkits/libXmu, x11-toolkits/libXaw, devel/subversion and x11-fonts/fontconfig. The jails were populated with FreeBSD worlds of -STABLE branches of each major version. Since FreeBSD preserves base system shared lib versions across minor version upgrades, 6.4 binaries will work on entire 6 branch, which covers all previous and future 6.X releases (tagged RELENG_{6,7,8}_X), provided that not-base system libs remain in concordance, of course. The binaries for FreeBSD-5 are an exception. These are built in 5.5-RELEASE worlds, using _old_ ports tree (CVS tag RELEASE_5_5_0), since it is unlikely and certainly technically impossible that existing FreeBSD-5 users track current Ports Collection. However, users that use newer Ports on FreeBSD-5 might not be able to run several binaries; please read the section "Support for old FreeBSD versions" on how to overcome such problems. 3D graphics program asymptote was built with --enable-texlive-build --disable-gsl --disable-fftw --enable-gl --disable-gc. 3. How to use these binaries: a quick guide =========================================== You can use TeX Live installer's built-in support for custom binary sets: http://www.tug.org/texlive/custom-bin.html or choose to install and maintain the binaries yourself. If you choose the latter method, please read the rest of this section. Please note that these tar.xz files are not FreeBSD packages, i.e. you cannot pkg_add them. In order to use them, you need a fully installed TeX Live distribution. So, please install TeX Live first; you can find the documentation here: http://www.tug.org/texlive/doc/texlive-en/texlive-en.html Accepting all installer defaults is perfectly ok. When everything is done, download FreeBSD binary set that matches your system. Then, create a new directory, /usr/local/texlive/2012/bin/, and unpack the set you downloaded. Assuming that you run FreeBSD-6/amd64, this should look like this: # mkdir /usr/local/texlive/2012/bin # cd /usr/local/texlive/2012/bin # xzdec /path/to/amd64-freebsd6-tl2012.tar.xz | tar xvf - (you need archivers/xz to do this). Then, set the PATH variable in your environment, something like setenv PATH /usr/local/texlive/2012/bin/amd64-freebsd6:$PATH in /etc/csh.cshrc or ~/.cshrc for C shells or PATH=/usr/local/texlive/2012/bin/amd64-freebsd6:$PATH export PATH in /etc/profile or ~/.profile for sh. Your PATH shoud look like this: % echo $PATH /usr/local/texlive/2012/bin/amd64-freebsd6:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin The important thing is to put TeX Live executables before those installed by ports. This also means that you can safely have both TeX Live and teTeX on the same system, which is a necessity on many FreeBSD desktop systems. Just to be sure, delete ~/.texlive2012/ if you have it. Then, check if TeX Live executables are visible: % which tex /usr/local/texlive/2012/bin/amd64-freebsd6/tex % tex -v TeX 3.1415926 (TeX Live 2012) kpathsea version 6.1.0 Copyright 2012 D.E. Knuth. [...] (note the "TeX Live 2012" banner). ls -l `which xelatex` lrwxr-x--- 1 nikola wheel 5 Jul 08 2012 /usr/local/texlive/2012/bin/amd64-freebsd/xelatex -> xetex and if kpsewhich sees main configuration files: % kpsewhich fmtutil.cnf /usr/local/texlive/2012/texmf-var/web2c/fmtutil.cnf Then run a basic test like % latex small2e % dvips small2e.dvi % pstopdf small2e.ps and check small2e.pdf. 4. Support for old FreeBSD versions =================================== FreeBSD-5 binaries (i386 and amd64) are build with old ports tree (CVS tag RELEASE_5_5_0) since it is unlikely and certainly technically impossible that existing FreeBSD-5 users track current Ports Collection. This ports tree includes pre-modular Xorg and old version of gettext. If you, however, use FreeBSD-5 with newer ports, the following binaries possibly will not run as expected or will not run at all: asy (alone or through xasy) mf xindy.run (through xindy) xdvi-xaw (through xdvi) To make xindy, xdvi and mf usable, you can try to put something like this in /etc/libmap.conf (on FreeBSD>=5.1): [xindy.run] libintl.so.6 libintl.so.8 [mf] libXdmcp.so.0 libXdmcp.so.6 [xdvi-xaw] libXdmcp.so.0 libXdmcp.so.6 As for (x)asy, OpenGL support will probably work only if your Ports are close to RELEASE_5_5_0. Otherwise, asy binary should work only with documents without OpenGL-related contents; with OpenGL stuff it will simply coredump. If you have older ports tree (probably <=RELEASE_5_4_0), you can expect that xe(la)tex and xdvipdfmx do not work, and you will encounter an error during installation. In that case, put this in /etc/libmap.conf: [xetex] libexpat.so.6 libexpat.so.5 [xelatex] libexpat.so.6 libexpat.so.5 [xdvipdfmx] libexpat.so.6 libexpat.so.5 It can be possible that you have to remap libglut in order to get working asy. Old Ports tree does not include port for xz compression format (archivers/xz), formerly known as lzma. You can find all binaries you need at: http://anthesphoria.net/FreeBSD/TeXLive-2012/installer/ 5. RMD160 checksums =================== RMD160 (amd64-freebsd-tl2012.tar.xz) = cb7bd54d915c9b70c11f8834c26553af8f03e24d RMD160 (amd64-freebsd5-tl2012.tar.xz) = 3f12bc7ed0791c55bdcaa9c966e48a0a3017f4e3 RMD160 (amd64-freebsd6-tl2012.tar.xz) = 325b835fb90f1ce9379a35bb9c3fe17e0e6e546b RMD160 (i386-freebsd-tl2012.tar.xz) = 2c62250d8c31fea42e4b5dddfaa35f687c2cea51 RMD160 (i386-freebsd5-tl2012.tar.xz) = b01d130e42d4dcfcc38ce411232f90d678c3e978 RMD160 (i386-freebsd6-tl2012.tar.xz) = 328edc46d0e08f027bee27824d9706ae96aa5c1a 6. Other TeX Live/FreeBSD resources on anthesphoria.net ======================================================= Other resources available on anthesphoria.net TeX Live-related repository: - xz/xzdec and wget binaries needed for TeX Live Installer / Manager (tlmgr) for all supported versions of FreeBSD: http://anthesphoria.net/FreeBSD/TeXLive-2011/installer/ - Biber binaries for FreeBSD 6, 7, 8, 9, 10: http://anthesphoria.net/FreeBSD/Biber/ - binaries and advanced FreeBSD support for older TeX Live releases: http://anthesphoria.net/FreeBSD/TeXLive-2009/bin/ http://anthesphoria.net/FreeBSD/TeXLive-2010/bin/ http://anthesphoria.net/FreeBSD/TeXLive-2011/bin/ Last updated: 08 July 2012 - -- Nikola Lečić = Никола Лечић nikola.lecic@anthesphoria.net fingerprint : FEF3 66AF C90E EDC3 D878 7CDC 956D F4AB A377 1C9B ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iJwEAQEDAAYFAk/5tIMACgkQ/MM/0rYIoZgAmAQAopOcTOT5bfJtZ6Xmj/OD1Ijg M90wGmq5uKlPW+vk6uSObG5b82rdydA80qcITSls2EnX0R9udyokZkutpm0/dADu DCuCmDvIMjfSEazzPc+XhuxPujsgYumxtUE/i9J3tSGONsAaem0YAofINoiGCYEI V7zcg0xBEaFGyYxtWwc= =VcRW -----END PGP SIGNATURE-----