Difference between revisions of "Debian installation"

From Wiki
Jump to navigation Jump to search
(free as in freedom of speech)
 
(83 intermediate revisions by 19 users not shown)
Line 1: Line 1:
== Install teTeX 3.0 ==
+
{{note|Releases of Debian (or any other distribution for that matter) usually contain way too old TeX distributions for ConTeXt MKIV (but should work fine for MKII). If you want to live on bleeding edge, consider using the packages from Debian/unstable, [[ConTeXt Standalone]], or at least install the latest version of [[TeX Live]] with [[TLContrib]] manually.}}
  
Lucky Debian users can install official but experimental packages. You have to enable them by adding the following line in your /etc/apt/sources.list file (as root) :
+
== Install the ConTeXt packages ==
  
<code>
+
The status of ConTeXt in Debian/unstable is currently up to date with TeX Live 2021, and includes all the necessary bits and pieces, plus the modules shipped in TeX Live.
  # echo "deb ftp://ftp.fr.debian.org/debian/ ../project/experimental  main" \
 
  # >>/etc/apt/sources.list
 
</code>
 
  
where "ftp.fr.debian.org" stands for your favorite mirror. Then, as root, you just have to ask the corresponding pakages to apt-get :
+
If you are running Debian sid or later, then the <code>context</code> and <code>context-modules</code> packages should already be visible.
 +
Then do
  
<code>
+
aptitude update
  # apt-get install -t experimental tetex-bin tetex-extra
+
aptitude install context context-modules
</code>
 
  
teTex 3.0 packages are now in unstable (25th Feb. 2006)
+
* The final version in debian bullseye (aka debian stable 11.2) is 2020.03.10.20200331-1
 +
* In ''unstable'' is a version that is from the TeX Live 2021
  
== Install a [[pdfTeX]] update ==
+
=== Install latest unstable context .deb package ===
  
I wonder why 'Install a pdftex update' ?
+
<tt>unstable</tt> means ''(mature) development'', the version number may changes. The software is ''stable''
  
The Debian tetex-bin package contains a pdftex program
+
1. Download the two .deb-s
 +
http://packages.debian.org/unstable/all/context/download
 +
http://packages.debian.org/unstable/all/context-modules/download
  
I suggest to delete this paragraph
+
2. run as root (the version number might have increased a bit)
 +
dpkg --install context_2021.03.05.20220211-1_all.deb
 +
mtxrun --generate
  
--[[User:Stappers|Stappers]] 12:31, 25 February 2006 (CET)
+
3. run as user
 +
mtxrun --generate
  
== Install a [[MetaPost]] update ==
+
Step 2. is currently still necessary, but soon an update of tex-common will run mtxrun --generate automatically when packages have changed (like mktexlsr), and there will be no need to run this anymore.
  
{{todo| why a meta post update? }}
+
Step 3. needs to be done only when you have files in TEXMFHOME or you change things there.
  
== Install a [[Latin Modern]] font update ==
+
You have now a system wide context-installation!
  
 +
== See also ==
  
Under Debian, root as just to ask :
+
{{Installation navbox}}
 
 
<code>
 
  # apt-get install lmodern pts-tetex-cm-super
 
</code>
 
 
 
The configuration/update is handled by apt-get
 
 
 
 
 
On newer versions you do
 
<code>
 
  # apt-get install lmodern cm-super
 
</code>
 
 
 
== Install the latest ConTeXt ==
 
 
 
Fetch the current distro from Pragma ADE:
 
[[http://www.pragma-ade.com/context/current/cont-tmf.zip cont-tmf.zip]]
 
 
 
As a user, I would advise to install context in ~/texmf (~ refers to the current user home directory)
 
 
 
  mkdir texmf
 
  cd texmf
 
  wget http://www.pragma-ade.com/context/current/cont-tmf.zip
 
  unzip cont-tmf.zip
 
  texexec --make
 
 
 
== Finished! ==
 
 
 
That should do it! The output of <code>texexec --version</code> is hopefully like this:
 
<code>
 
TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
 
              texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
 
              texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
 
                  tex : pdfeTeXk, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
 
              context : ver: 2005.10.27
 
              cont-en : ver: 2005.10.27  fmt: 2005.11.1  mes: english
 
</code>
 
  
 
[[Category:Installation]]
 
[[Category:Installation]]
See also the [[Debian TeXlive install]] page.
 

Latest revision as of 00:46, 14 February 2022


NOTE: Releases of Debian (or any other distribution for that matter) usually contain way too old TeX distributions for ConTeXt MKIV (but should work fine for MKII). If you want to live on bleeding edge, consider using the packages from Debian/unstable, ConTeXt Standalone, or at least install the latest version of TeX Live with TLContrib manually.

Install the ConTeXt packages

The status of ConTeXt in Debian/unstable is currently up to date with TeX Live 2021, and includes all the necessary bits and pieces, plus the modules shipped in TeX Live.

If you are running Debian sid or later, then the context and context-modules packages should already be visible. Then do

aptitude update
aptitude install context context-modules
  • The final version in debian bullseye (aka debian stable 11.2) is 2020.03.10.20200331-1
  • In unstable is a version that is from the TeX Live 2021

Install latest unstable context .deb package

unstable means (mature) development, the version number may changes. The software is stable

1. Download the two .deb-s http://packages.debian.org/unstable/all/context/download http://packages.debian.org/unstable/all/context-modules/download

2. run as root (the version number might have increased a bit)

dpkg --install context_2021.03.05.20220211-1_all.deb
mtxrun --generate

3. run as user

mtxrun --generate

Step 2. is currently still necessary, but soon an update of tex-common will run mtxrun --generate automatically when packages have changed (like mktexlsr), and there will be no need to run this anymore.

Step 3. needs to be done only when you have files in TEXMFHOME or you change things there.

You have now a system wide context-installation!

See also