Difference between revisions of "Debian TeXlive install"

From Wiki
Jump to navigation Jump to search
(Updates for current status)
(simplify the apt-get line)
Line 25: Line 25:
 
== Install ==
 
== Install ==
  
Basically, after having purged any other TeX distrib such as tetex:
+
After purging any other TeX distribution, such as teTeX:
 
<code>
 
<code>
 
   apt-get remove --purge tetex-* texinfo
 
   apt-get remove --purge tetex-* texinfo
 
</code>
 
</code>
you just have to apt-get the packages as root:
+
you have just to <tt>apt-get</tt> these packages as root:
 
<code>
 
<code>
   apt-get install texlive-context
+
   apt-get install lmodern texlive-context
  apt-get install texlive-pdfetex
 
  apt-get install texlive-metapost
 
  apt-get install lmodern
 
 
</code>
 
</code>
 +
 +
The <tt>texlive-context</tt> package is old compared to the <tt>context</tt> packages from Norbert Preining; see [[Debian_installation]] for how to use the newer packages.
  
 
== Fonts ==
 
== Fonts ==

Revision as of 07:02, 6 January 2007

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
  apt-get install cm-super

TeXinfo

And to get back texinfo if needed:

  apt-get install texinfo

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