Debian TeXlive install

From Wiki
Revision as of 07:03, 6 January 2007 by Sanjoy (talk | contribs) (simplify the apt-get line)
Jump to navigation Jump to search

Setup

TeXlive is contained in Debian proper, and part of the (upcoming) stable release etch (and of course of sid). Installation is easy: If you use Debian/unstable (aka sid) or Debian/testing (aka etch, soon(?) it should be stable), just call

	apt-get update
	apt-get install texlive

Which will bring you: texlive-latex-recommended, texlive-fonts-recommended, texlive-context, texlive-latex-base, texlive-base. You can go on and install additional packages (like texlive-latex-extra) and additional languages (like texlive-lang-german) and additional documentation (like texlive-doc-en).

If you want to have a system closely mirroring a TeX Live DVD, you can install the texlive-full packages, which pulls in all packages. At the moment it can only recommend some packages I have updated (see above and below for updpkg), but later on - as soon as all these packages are fixed to work with texlive - thee will be real depends. I.e., do

	apt-get install texlive-full

Install

After purging any other TeX distribution, such as teTeX:

  apt-get remove --purge tetex-* texinfo

you have just to apt-get these packages as root:

  apt-get install lmodern texlive-context

The texlive-context package is old compared to the context packages from Norbert Preining; see Debian_installation for how to use the newer packages.

Fonts

It may be of interest to get fonts as well:

  apt-get install texlive-fonts-recommended cm-super

TeXinfo

And to get back texinfo if needed:

  apt-get install texinfo

--Olivier 13:05, 7 November 2005 (CET)