Difference between revisions of "Debian installation"

From Wiki
Jump to navigation Jump to search
(note about old versions)
m ({{Installation navbox}})
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{note|Debian packages (or any other linux packages 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 [[ConTeXt Minimals]] instead or at least install the latest version of [[TeX Live]] with [[TLContrib]] manually.}}
+
{{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> package 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 (and the <code>context-nonfree</code> and <code>context-doc-nonfree</code> packages are in the nonfree repository).
then do
+
Then do
  
 
  aptitude update
 
  aptitude update
  aptitude install context [http://packages.debian.org/experimental/all/context/download context-nonfree] [http://packages.debian.org/sid/context-doc-nonfree context-doc-nonfree]
+
  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
 +
* In ''unstable'' is a the version that will be in TeX Live 2011
  
* The final version in debian squeeze (aka debian stable 6.0) is 2009.11.26-2
+
=== Install latest unstable context .deb package ===
* in december 2010 a new experimental .deb package was built you can try it out: http://packages.debian.org/experimental/context
 
* MKIV is broken in experimental: [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609600 bug 609600]
 
  
=== install latest experimental context .deb package ===
+
<tt>unstable</tt> means ''(mature) development'', the version number may changes. The software is ''stable''
  
1. Download the .deb  
+
1. Download the two .deb-s
http://packages.debian.org/experimental/all/context/download
+
http://packages.debian.org/unstable/all/context/download
 +
http://packages.debian.org/unstable/all/context-modules/download
  
2. run as root
+
2. run as root (the version number might have increased a bit)
  dpkg -i context_2010.07.30-1_all.deb
+
  dpkg --install context_2011.05.18.20110627-1_all.deb
 +
mtxrun --generate
  
 
3. run as user
 
3. run as user
 
  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 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!
 
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