Difference between revisions of "Debian TeXlive install"

From Wiki
Jump to navigation Jump to search
(Updates for current status)
Line 1: Line 1:
 
== Setup ==
 
== Setup ==
  
TeXlive is packaged for Debian/sid/i386.
+
TeXlive is contained in Debian proper, and part of the (upcoming) stable release etch (and of course of sid).
Users can enable them by adding the following line in your /etc/apt/sources.list file (as root):
+
Installation is easy: If you use Debian/unstable (aka sid) or
<code>
+
Debian/testing (aka etch, soon(?) it should be stable), just call
  echo "deb http://www.tug.org/texlive/Debian/ pool/" >>/etc/apt/sources.list
+
<pre>
  apt-get update
+
apt-get update
</code>
+
apt-get install texlive
and follow the instructions here: [http://www.tug.org/texlive/debian.html].
+
</pre>
 +
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
 +
<pre>
 +
apt-get install texlive-full
 +
</pre>
  
 
== Install ==
 
== Install ==

Revision as of 07:57, 2 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

Basically, after having purged any other TeX distrib such as tetex:

  apt-get remove --purge tetex-* texinfo

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

  apt-get install texlive-context
  apt-get install texlive-pdfetex
  apt-get install texlive-metapost
  apt-get install lmodern

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)