Difference between revisions of "Debian installation"

From Wiki
Jump to navigation Jump to search
m ({{Installation navbox}})
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
{{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 ==
 
== Install the ConTeXt packages ==
  
Norbert Preining has produced reliable, complete ConTeXt packages for Debian.
+
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.
 +
 
 +
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).
 +
Then do
 +
 
 +
aptitude update
 +
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]
  
If you are running Debian sid or later, then the <code>context</code> package should already be visible (and the <code>context-nonfree</code> and <code>context-doc-nonfree</code> packages are in the nonfree repository).  
+
* The final version in debian squeeze (aka debian stable 6.0) is 2009.11.26-2
then do
+
* In ''unstable'' is a the version that will be in TeX Live 2011
  
  aptitude update
+
=== Install latest unstable context .deb package ===
  aptitude install context context-nonfree context-doc-nonfree
 
  
and apt will download and install the latest ConTeXt packages.
+
<tt>unstable</tt> means ''(mature) development'', the version number may changes. The software is ''stable''
  
* The final version in debian squeeze (aka debian stable 6.0) is 2009.11.26-2
+
1. Download the two .deb-s
* in december 2010 a new experimental .deb package was built you can try it out: http://packages.debian.org/experimental/context
+
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_2011.05.18.20110627-1_all.deb
 +
mtxrun --generate
  
=== install latest experimental context .deb package ===
+
3. run as user
 +
mtxrun --generate
  
1. Download the .deb
+
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.
http://packages.debian.org/experimental/all/context/download
 
  
2. run as root
+
Step 3. needs to be done only when you have files in TEXMFHOME or you change things there.
dpkg -i context_2010.07.30-1_all.deb
 
  
 
You have now a system wide context-installation!
 
You have now a system wide context-installation!
  
 
== See also ==
 
== See also ==
 +
 +
{{Installation navbox}}
  
 
[[Category:Installation]]
 
[[Category:Installation]]
the [[Debian TeXlive install]] page.
 

Revision as of 16:00, 20 November 2012


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 the soon to be released TeX Live 2011, 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 (and the context-nonfree and context-doc-nonfree packages are in the nonfree repository). Then do

aptitude update
aptitude install context context-modules
# optional
aptitude install context-nonfree context-doc-nonfree
  • The final version in debian squeeze (aka debian stable 6.0) is 2009.11.26-2
  • In unstable is a the version that will be in TeX Live 2011

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_2011.05.18.20110627-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