| 1 |
You can find here the modular texlive ebuilds I'm working on. |
|---|
| 2 |
Unfortunately it is not yet possible to have an overlay that works out of the |
|---|
| 3 |
box, therefore you'll have to do a few things to be able to install texlive |
|---|
| 4 |
2007. |
|---|
| 5 |
|
|---|
| 6 |
If you're reading this from the Trac web interface, you might want to install |
|---|
| 7 |
subversion and checkout this overlay : |
|---|
| 8 |
$ svn co http://overlays.gentoo.org/svn/dev/aballier/ |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
First, download both live and inst isos of texlive from |
|---|
| 12 |
http://tug.org/texlive/acquire.html |
|---|
| 13 |
You'll need both, if you have an idea on how to use only one of the isos, just |
|---|
| 14 |
email me ! |
|---|
| 15 |
|
|---|
| 16 |
For example : |
|---|
| 17 |
|
|---|
| 18 |
$ cd DOWNLOADDIR |
|---|
| 19 |
$ wget http://ftp.math.utah.edu/pub/texcollection/texlive/texlive2007-live-20070212.iso.zip |
|---|
| 20 |
$ wget http://ftp.math.utah.edu/pub/texcollection/texlive/texlive2007-inst-20070212.iso |
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
Then, mount the images : the default location is /mnt/texlive-inst for inst iso, |
|---|
| 25 |
and /mnt/texlive-live for live iso. |
|---|
| 26 |
|
|---|
| 27 |
For example (you'll need to be root to mount the images or modify /mnt) |
|---|
| 28 |
|
|---|
| 29 |
# mkdir -p /mnt/texlive-live/ |
|---|
| 30 |
# mkdir -p /mnt/texlive-inst/ |
|---|
| 31 |
# unzip texlive2007-live-20070212.iso.zip |
|---|
| 32 |
# mount -o loop -t iso9660 texlive2007-live-20070212.iso /mnt/texlive-live/ |
|---|
| 33 |
# mount -o loop -t iso9660 texlive2007-inst-20070212.iso /mnt/texlive-inst/ |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
Previously, source.tar.bz2 had to be copied manually, now it is hanled automatically in |
|---|
| 37 |
the next step; you shouldn't have to worry about it anymore. |
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 |
Once that is done, you have to generate the ebuilds for the modular texmf tree, go |
|---|
| 41 |
to scripts/texlive/lists subdir and you'll find another README file :) |
|---|
| 42 |
If you want a simpler approach, just go to scripts/texlive subdir and type make. |
|---|
| 43 |
It should do the right thing for you if you have mounted the images to the |
|---|
| 44 |
default location and you are using portage. (it now uses portageq to get the |
|---|
| 45 |
values of PORTDIR and DISTDIR) |
|---|
| 46 |
|
|---|
| 47 |
At this point, it is ok to unmount texlive's isos : |
|---|
| 48 |
|
|---|
| 49 |
# umount /mnt/texlive-live/ |
|---|
| 50 |
# umount /mnt/texlive-inst/ |
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 |
|
|---|
| 54 |
If you've gone through all those steps, you're ready to install texlive ! |
|---|
| 55 |
Well, in fact, you're almost ready : |
|---|
| 56 |
Just append texlive-overlay subdir to your portage overlay, for example, |
|---|
| 57 |
if you're in a terminal in the directory where this README file is, just type : |
|---|
| 58 |
|
|---|
| 59 |
# echo "PORTDIR_OVERLAY=\"\${PORTDIR_OVERLAY} ${PWD}/texlive-overlay\"" >> /etc/make.conf |
|---|
| 60 |
|
|---|
| 61 |
Due to some packages being masked globally in the portage tree, you'll need to |
|---|
| 62 |
unmask them first : |
|---|
| 63 |
# echo 'dev-tex/xcolor' >> /etc/portage/package.unmask |
|---|
| 64 |
# echo 'app-text/texlive' >> /etc/portage/package.unmask |
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
Now, you should be ready to install texlive : |
|---|
| 68 |
# emerge texlive |
|---|
| 69 |
|
|---|
| 70 |
If you have tetex installed, please read tetex-to-texlive/Howto, it is a short |
|---|
| 71 |
file that tries to report possible problems that can happen while switching. [ |
|---|
| 72 |
This file is really incomplete, please report any problem you encountered so |
|---|
| 73 |
that I can add it there ] |
|---|
| 74 |
|
|---|
| 75 |
|
|---|
| 76 |
Reporting bugs / improvements : Just contact me, aballier@gentoo.org, or on irc |
|---|
| 77 |
(freenode). Feedback, even if it's just to say "that just worked perfectly" will |
|---|
| 78 |
be very appreciated, so that I'll know how many people tested it, etc. |
|---|