Texlive 2010 Debian

Follow the instruction here:

http://tug.org/texlive/debian

Use the following texlive-local file

Section: misc
Priority: optional
# Homepage: <enter URL here; no default>
Standards-Version: 3.6.2

Package: texlive-local
Version: 2010-2~1
Maintainer: Marco <marco@nospam.it>
Provides: biblatex, biblatex-dw, cm-super, cm-super-minimal, context, dvipng,
 feynmf, fragmaster, lacheck, latex-beamer, latex-cjk-all, latex-cjk-chinese,
 latex-cjk-chinese-arphic-bkai00mp, latex-cjk-chinese-arphic-bsmi00lp,
 latex-cjk-chinese-arphic-gbsn00lp, latex-cjk-chinese-arphic-gkai00mp,
 latex-cjk-common, latex-cjk-japanese, latex-cjk-japanese-wadalab,
 latex-cjk-korean, latex-cjk-thai, latex-cjk-xcjk, latexmk, latex-sanskrit,
 latex-xcolor, lcdf-typetools, lmodern, luatex, musixlyr, musixtex, pgf,
 preview-latex-style, prosper, ps2eps, psutils, purifyeps, t1utils, tex4ht,
 tex4ht-common, tex-gyre, texlive, texlive-base,
 texlive-base-bin-doc, texlive-bibtex-extra, texlive-binaries, texlive-common,
 texlive-doc-base, texlive-doc-bg, texlive-doc-cs+sk, texlive-doc-de,
 texlive-doc-el, texlive-doc-en, texlive-doc-es, texlive-doc-fi,
 texlive-doc-fr, texlive-doc-it, texlive-doc-ja, texlive-doc-ko,
 texlive-doc-mn, texlive-doc-nl, texlive-doc-pl, texlive-doc-pt,
 texlive-doc-ru, texlive-doc-si, texlive-doc-th, texlive-doc-tr,
 texlive-doc-uk, texlive-doc-vi, texlive-doc-zh, texlive-extra-utils,
 texlive-fonts-extra, texlive-fonts-extra-doc, texlive-fonts-recommended,
 texlive-fonts-recommended-doc, texlive-font-utils, texlive-formats-extra,
 texlive-games, texlive-generic-extra, texlive-generic-recommended,
 texlive-humanities, texlive-humanities-doc, texlive-lang-african,
 texlive-lang-all, texlive-lang-arabic,
 texlive-lang-armenian, texlive-lang-croatian, texlive-lang-cyrillic,
 texlive-lang-czechslovak, texlive-lang-danish, texlive-lang-dutch,
 texlive-lang-finnish, texlive-lang-french, texlive-lang-german,
 texlive-lang-greek, texlive-lang-hebrew, texlive-lang-hungarian,
 texlive-lang-indic, texlive-lang-italian, texlive-lang-latin,
 texlive-lang-latvian, texlive-lang-lithuanian, texlive-lang-manju,
 texlive-lang-mongolian, texlive-lang-norwegian, texlive-lang-other,
 texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish,
 texlive-lang-swedish, texlive-lang-tibetan, texlive-lang-ukenglish,
 texlive-lang-vietnamese, texlive-latex3, texlive-latex-base,
 texlive-latex-base-doc, texlive-latex-extra, texlive-latex-extra-doc,
 texlive-latex-recommended, texlive-latex-recommended-doc, texlive-luatex,
 texlive-math-extra, texlive-metapost, texlive-metapost-doc, texlive-music,
 texlive-omega, texlive-pictures, texlive-pictures-doc, texlive-plain-extra,
 texlive-pstricks, texlive-pstricks-doc, texlive-publishers,
 texlive-publishers-doc, texlive-science, texlive-science-doc, texlive-xetex,
 texpower, texpower-manual, thailatex, tipa, ttf-freefont, ttf-gfs-artemisia,
 ttf-gfs-baskerville, ttf-gfs-bodoni-classic, ttf-gfs-didot,
 ttf-gfs-didot-classic, ttf-gfs-gazis, ttf-gfs-neohellenic, ttf-gfs-olga,
 ttf-gfs-porson, ttf-gfs-solomos, ttf-gfs-theokritos, ttf-sil-gentium, xindy,
 xindy-rules, chktex, context-doc-nonfree, context-nonfree, jadetex, 
 latex-xft-fonts, tex-common, ttf-sil-gentium-basic, pdfjam, ttf-junicode,
 ttf-inconsolata, ttf-oflb-asana-math, ttf-linux-libertine
Architecture: all
Description: My local installation of TeX Live 2010
 A full "vanilla" TeX Live 2010
 <a href="http://tug.org/texlive/debian#vanilla">http://tug.org/texlive/debian#vanilla</a>

Be sure to purge out all the packages above.

Install texlive and let it make the symlink in ''/usr/local/bin'' etc.

I suggest you to create the user "texlive", give them write permission on /opt/texlive and install texlive in /opt/texlive/2010 as user "texlive". You should temporarily add it to the "staff" group.

adduser texlive staff

When you're done:

deluser texlive staff

Then link the fonts to the system ones.

cd /usr/local/share/fonts
ln -s /opt/texlive/2010/texmf-dist/fonts/opentype/public/ texlivefonts
ln -s /opt/texlive/2010/texmf-dist/fonts/opentype/gust/ gust 
ln -s /opt/texlive/2010/texmf-dist/fonts/opentype/nowacki/ nowaki
ln -s /opt/texlive/2010/texmf-dist/fonts/truetype/public/gentium/ gentium
ln -s /opt/texlive/2010/texmf-dist/fonts/truetype/public/junicode/ junicode
fc-cache -f -v

You'll notice that the debian fake package replace a lot of fonts distributed by debian. I prefer to have the fresh files from TeXlive then the debian ones.

Keep in mind that if you have the same font installed twice, one from the distro and one from TeXlive or in your local ~/.fonts directory, you'll have major breakage. For sure XeTeX will go crazy, and possibly other applications (I experienced OpenOffice messing up with fonts -- I've learned the hard way).