tex live in Slackware?
Hello!
As Slack 12.0 ships with tetex-3.0, and since March 2007 teTeX was declared obsolete, I would like to ask if there are perspectives for TeX Live to be included in next Slackware? |
You should email Pat Volkerding and ask him.
Those decisions are his, and we could only guess. |
Quote:
|
Look at the end of the file ./slackware-12.0/ANNOUNCE.12_0
|
Please don't bother him with that. I already mailed him twice about this issue.
The first time was approximately a year ago : Quote:
Quote:
|
Martin Ivanov wrote:
> Dear Mr Volkerding, > > I am a keen Slackware fan. I use it for both work and leisure. I use LaTeX > a lot. As tetex is no longer supported and already considered obsolete > (http://www.mail-archive.com/ctan-ann.../msg01091.html), I would > like to ask if the next Slackware will include the tex live distribution. If by next you mean the one after what we are preparing to release very soon, yes -- we do plan to look into a better TeX. However, texlive is too large to include without pruning it down substantially -- ideally to contain the same TeX components as teTeX does. Nobody here is much of a TeX expert, so tackling this for 12.1 was pretty much out of the question. Best regards, Pat |
Sorry for cross-posting.
I would like to ask if someone is known to support tex live slackware package? The tex live distribution is accompanied by detailed installation instructions, but I am curious whether it could be packaged into a single Slackware package? I always prefer having pakages for the purpose of clean uninstallation. Regards, Martin |
Hello,
Here's a simple way to build a TeX Live package : 0) removepkg tetex tetex-doc 1) Get texlive-live.iso.zip file from TeX Live's website. It's quite fast to get it with the .torrent file, for example. 2) Unzip it, and then mount it as a iso9660 file: # mount -t iso9660 -o loop image.iso /mnt/cdrom 3) Here, I think it's a better idea to use /usr/share rather than /opt for TeX Live prefix: # cd /mnt/cdrom # export TEXLIVE_INSTALL_PREFIX=/usr/share 4) Launch the install script : # ./install-tl.sh 5) Then press 'D' and make sure you get the following: o TEXDIR (main TeX directory): /usr/share/texmf o TEXMFSYSVAR (systemwide config): /usr/share/texmf-var o TEXMFLOCAL (systemwide styles etc.): /usr/share/texmf-local o TEXMFHOME (personal styles etc.): $HOME/texmf 6) It's a good idea to use something else than the default scheme, which is quite big. Press 'S' and then choose what you prefer; I tend to think that 'G' (TeX Live medium scheme) is a good idea, as it's even smaller than the 'teTeX scheme'. 7) I personally decided to press 'O' and then 'S' in the main menu, in order to remove the source tree for fonts and macros. 8) Now, press 'I' to launch the installation. It doesn't compile anything so it's pretty fast. 9) The first problem here is that binaries are installed under /usr/share/bin/i386-linux... while they should be in /usr/share/texmf/bin, IMHO. # cd /usr/share/texmf # mkdir bin # mv ../bin/i386-linux/* bin/ # rmdir ../bin/i386-linux # rmdir ../bin 10) It's always a good idea to compress man pages : # cd /usr/share/texmf/doc/man # find . -type f -name "*.?" -exec gzip -9 {} \; # for manpage in $(find . -type l) ; do # ln -s $(readlink $manpage).gz $manpage.gz # rm -f $manpage # done 11) Now it should be a good idea to redefine the PATH and MANPATH variables: # PATH="$PATH:/usr/share/texmf/bin" # MANPATH="$MANPATH:/usr/share/texmf/doc/man" 12) Pat used the following lines in his teTeX buildscript. It's probably harmless to launch them: # mv /root/.texmf-config /root/.texmf-config-$(mcookie) # texconfig-sys confall # texconfig-sys mode ljfour # texconfig-sys dvips printcmd - # texconfig-sys dvips add bjc600 # texconfig-sys dvips add stcolor # texconfig-sys dvips add deskjet # texconfig-sys dvips add ljet4 # texconfig-sys dvips -P bjc600 mode canonbjc # texconfig-sys dvips -P stcolor mode epstylus # texconfig-sys dvips -P deskjet mode deskjet # texconfig-sys dvips -P ljet4 mode ljfour # texconfig-sys font ro # texconfig-sys rehash If you use A4 format, then you'll have to launch that as well: # texconfig-sys dvips paper a4 # texconfig-sys xdvi paper a4 13) I don't really know why /usr/share/texmf-var has special permissions... So I used the following lines to give more "habitual" permissions to this directory, as everything seems to be working fine. # chmod 0755 /usr/share/texmf-var # find /usr/share/texmf-var -type f -exec chmod 0644 {} \; # find /usr/share/texmf-var -type d -exec chmod 0755 {} \; Now, you can start to make a .tgz package: 14) I personally use fakeroot to create a package, so 'root' is only needed to install the package. $ cd /tmp/build $ mkdir -p texlive/usr/share $ cd texlive/usr/share $ cp -a /usr/share/texmf . $ cp -a /usr/share/texmf-dist . $ cp -a /usr/share/texmf-doc . $ cp -a /usr/share/texmf-local . $ cp -a /usr/share/texmf-var . $ cd ../.. $ mkdir -p etc/profile.d $ cd etc/profile.d $ cat > texlive.sh << EOF #!/bin/sh # Add PATH and MANPATH for TeX Live: PATH="$PATH:/usr/share/texmf/bin" MANPATH="$MANPATH:/usr/share/texmf/doc/man" EOF $ cat > texlive.csh << EOF #!/bin/csh # Add PATH and MANPATH for TeX Live: setenv PATH $PATH:/usr/share/texmf/bin setenv MANPATH $MANPATH:/usr/share/texmf/doc/man EOF $ chmod 0755 texlive.*sh $ mkdir ../../install $ cd ../../install $ cat > slack-desc << EOF texlive: texlive (the TeX Live distribution) texlive: texlive: TeX Live is an easy way to get up and running with TeX. It provides a texlive: comprehensive TeX system which includes all the major TeX-related texlive: programs, macro packages, and fonts that are free software, including texlive: support for many languages around the world. This package uses the texlive: "TeX Live medium scheme". texlive: texlive: Learn more about TeX Live at: texlive: http://www.tug.org/texlive/ texlive: EOF $ cd .. $ fakeroot # chown root:root . -R # /sbin/makepkg -l y -c n /tmp/build/texlive-VERSION_NUMBER_HERE-i386-1.tgz # exit Then you may install the /tmp/build/texlive*.tgz package, umount /mnt/cdrom, remove the /tmp/build/texlive/ directory and the .iso file. 14) Make sure /etc/profile.d scripts are loaded, and enjoy LaTeX! BTW, I obtain a 157M .tgz package for TeX Live, while tetex+tetex-doc packages were about 100M. I find this "acceptable" ;) . --- Sorry if I made some mistakes. English is not my mother tongue... |
So I managed to make texlive2008.08.22 into a Slackware package. It seems to work faultlessly on my box. I would be glad if you look through the SlackBuild script I wrote and post you suggestions so that we improve the script. We might finally submit it to slackbuilds.org. I hope that a creative discussion will come out of it. There are several aspects that I wish to improve. In particular, I wuld like to:
1. get rid of the need to type "I" start installation to hard drive 2. install everything directly to the package directory and configure it there, instead of (as currently is) install texlive on the system, configure it, and then move the configured installation to the package directory; of course it this is possible 3. improve the postinstallation configuration; any suggestions on improving the postinstallation configuration will be appreciated; probably adding a doinst.sh will be necessary? So here is my script texlive.SlackBuild: Code:
#!/bin/sh |
I used the slackbuild to make my own Texlive package. Two points for anyone else about to try:
1) you obviously have to change PKG and OUTPUT to something appropriate for you system 2) more importantly, don't change the default install directories offered by the installer, the script expects those and will fail on anything different Works great though. |
Does the script deal with all the options properly?
Apparently no Few would want to install the whole of Texlive2008. As such the built-in Texlive2008 install script works well in Slamd64. Best A. Mani |
Fedora has a rpm building script(tl-rpm) that can deal with the options in some reasonable way.
Can that be adapted? |
Quote:
I wrote the script using Tsomi's script and Patrick's build for tetex as as a basis. Any suggestions for improving the SlackBuild for texlive will be welcome. |
Quote:
|
Quote:
[1] http://people.redhat.com/jnovy/files/texlive/tl2rpm [2] http://people.redhat.com/jnovy/files...llections.spec [3] http://people.redhat.com/jnovy/files..._packages.spec [4] http://people.redhat.com/jnovy/files...ve-rpmlist.txt ----------------------------------------------------------------------------------------------- There was a long discussion on this in the Texlive developers mailing list starting from: http://tug.org/mailman/htdig/tex-liv...st/017190.html In *buntu TexLive is always split up into various parts and that is good too. Best A. Mani |
All times are GMT -5. The time now is 11:24 PM. |