Difference between revisions of "Debian installation"

From Wiki
Jump to navigation Jump to search
m ({{Installation navbox}})
m (→‎Install the ConTeXt packages: - update to latest debian package information)
Line 3: Line 3:
 
== Install the ConTeXt packages ==
 
== Install the ConTeXt packages ==
  
The status of ConTeXt in Debian/unstable is currently up to date with the soon to be released TeX Live 2011, and includes all the necessary bits and pieces, plus the modules shipped in TeX Live.
+
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 <code>context</code> and <code>context-modules</code> packages should already be visible (and the <code>context-nonfree</code> and <code>context-doc-nonfree</code> packages are in the nonfree repository).
+
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
 
Then do
  
 
  aptitude update
 
  aptitude update
 
  aptitude install context context-modules
 
  aptitude install context context-modules
# optional
 
aptitude install [http://packages.debian.org/experimental/all/context/download context-nonfree] [http://packages.debian.org/sid/context-doc-nonfree context-doc-nonfree]
 
  
* The final version in debian squeeze (aka debian stable 6.0) is 2009.11.26-2
+
* The final version in debian bullseye (aka debian stable 11.2) is 2020.03.10.20200331-1
* In ''unstable'' is a the version that will be in TeX Live 2011
+
* In ''unstable'' is a the version that is from the TeX Live 2021
  
 
=== Install latest unstable context .deb package ===
 
=== Install latest unstable context .deb package ===
Line 25: Line 23:
  
 
2. run as root (the version number might have increased a bit)
 
2. run as root (the version number might have increased a bit)
  dpkg --install context_2011.05.18.20110627-1_all.deb
+
  dpkg --install context_2021.03.05.20220211-1_all.deb
 
  mtxrun --generate
 
  mtxrun --generate
  
Line 31: Line 29:
 
  mtxrun --generate
 
  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 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.
 
Step 3. needs to be done only when you have files in TEXMFHOME or you change things there.

Revision as of 00:44, 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 the 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