Changes

Jump to navigation Jump to search
m
re-add Linux 32bit link
< __NOTOC__Since April 2019, there is a new implementation of ConTeXt, named '''ConTeXt [[Installation hintsLMTX]] | ['''. It is tuned for LuaMetaTeX, the lean and mean successor of LuaTeX TeX engine (see [TeX Distributions]https://tug.org/TUGboat/tb40-1/tb124hagen-lmtx.pdf article] >).
= Download =
<ul id="DownloadRework">
{{note | The officially recommended way of installing ConTeXt on all platforms is using <li>=== Windows ===* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-mswin.zip 32bits]* X86 [ConTeXt Standalone|ConTeXt Suitehttps://lmtx.pragma-ade.com/install-lmtx/context-win64.zip 64bits]* ARM [https://lmtx.pragma-ade.com/install-lmtx/context-windows-arm64.zip 64bits]}}</li>
<li>
= Look before you leap == MacOS ===* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-osx-64.zip 64bits]* ARM [https://lmtx.pragma-ade.com/install-lmtx/context-osx-arm64.zip 64bits]</li>
Most [[TeX Distributions]] include an installation of ConTeXt already.To see if it's installed on your system run context --version<li>
If it is not installed, there are two important considerations=== GNU/Linux ===* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-linux.zip 32bits]* X86 [https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip 64bits]* ARM [https://lmtx.pragma-ade.com/install-lmtx/context-linux-aarch64.zip 64bits]* Musl [https://lmtx.pragma-ade.nl/install-lmtx/context-linuxmusl-64.zip 64bits]</li>
* Do you want a '''ConTeXt distribution''' or do you want a '''TeX distribution''' (plain TeX, LaTeX, ConTeXt, and lots of other goodies).
* Do you want a '''stable''' version of ConTeXt, or do you want the '''bleeding edge''' version. Remember that ConTeXt gets updated frequently.
If you are on a Linux system, there is also a third consideration:<li>
=== FreeBSD ===* Do you want a '''distribution package'''14.0 [https://lmtx.pragma-ade.com/install-lmtx/context-freebsd-amd64.zip 64bits]</li> <li> === OpenBSD ===* 7.4 [https://lmtx.pragma-ade.nl/install-lmtx/context-openbsd-amd64.zip 64bits]</li></ul></li> </ul> </li></ul>  You can [[Read Me| read the licence]] (Creative Commons GNU GPL for program code, or do you want your own '''local TeX''' installationand Creative Commons Attribution ShareAlike for documentation).
= Installation =
select your operating system
== Unix (linux/bsd/The general steps to install ConTeXt LMTX are as follows: # Create a directory for ConTeXt.# Download the platform-specific archive file into the ConTeXt directory.# Unpack the archive.) ==In decreasing order of simplicity# Execute the install program, here are a few options:which downloads the distribution.# Update the PATH environment variable.# Generate cache# Optionally, delete the archive file.
* (simplest) If you distribution supports [[TeX Live]] packages, use them. Debian, Ubuntu, openSUSE, Gentoo, Fedora, Arch and Mandriva (if not too old) do so. See [[Debian installation]] or [[Ubuntu installation]].* Otherwise, use a fresh [[TeX Live]] installation. The problem with this method is that you'll probably have to redo the installation once a year, when the new TeX Live DVD comes out.If you will use TeX Live, you have next sections for instructions specific to delete the distribution-provided teTeX packages (if they exist)various platforms.
If you are running an rpm-based distribution (RedHat, Fedora, Mandrake, Mandriva etc.), then you can most easily uninstall them like so: rpm --qa | grep tetex rpm --erase <package-names><code>rpm</code>'s dependencies will tell you what other TeX-related packages are installed but don't have 'tetex' in their names!== Unix ==
FreeBSD also still contains teTeX The steps in its ports distribution (with many dependencies)this section show how to download and install ConTeXt for a 64-bit Linux system. These packages can be deleted Change the archive file download link as follows: pkg_info | grep tetex pkg_delete tetex\*Note, however, that teTeX will again be pulled-in by other packages, needed for example if options installing formatted documentation are activatedyour target platform. Open a new terminal then run the following commands:
* Alternatively, if you need '''just ConTeXt and no LaTeX''', you can use the [[ConTeXt Standalone]] installation# mkdir $HOME/context# cd $HOME/context# wget https://lmtx. The ConTeXt Standalone installation does not require the depragma-installation of other TeX distributions and can be used in parallelade.com/install-lmtx/context-linux-64.zip# unzip context-linux-64.zip# sh install.sh
=== Debian / (K)Ubuntu ===Debian_TeXlive_install (Debian/linux and Debian/kfreebsd)* [[Debian installation| Update the PATH environment variable by using the path instructions displayed when the install ConTeXt program finishes. The instructions will vary depending on Debian]]* [[Ubuntu installation| install ConTeXt on Ubuntu]]* [[Debian TeXlive install| install TeXlive on Debian]]the type of shell being used:
* '''Bash''': <code>echo 'export PATH=...instructions...:$PATH' >> ~/.bashrc</code>* '''Zsh''': <code>echo 'export PATH=...instructions...:$PATH' >> ~/.zshenv</code>* '''Sh'''/'''Ksh''': <code>echo 'export PATH= Fedora ==...instructions...:$PATH' >> ~/.profile</code>* '''Tcsh'''/'''csh''': <code>echo 'set path =($path ...instructions...)' >> ~/.cshrc</code>
Detils for [http://fedoraproject.org Fedora] version 11For example, 12 and 13 are at [http:if ConTeXt was downloaded into `$HOME//fedoraproject.org/wiki/Features/TeXLive Fedora Project Wiki TeX Live page] maintained by Jindrich Novy. The repository provides context` on a snapshot of TeX Live 2010 tlpretestsystem running bash, and it includes very new ConTeXt packages and requires absolutely no manual configuration to get working Mk II and Mk IV. Highly recommended.then the following line would update the PATH environment variable:
<code>echo 'export PATH=== funtoo ===$HOME/context/tex/texmf-linux-64/bin:$PATH' >> ~/.bashrc</code>
If you are using [http://funtoo.org funtoo] there are ebuilds that will make an installation as easy as installing any other package from portage. Take a look at Then generate the [[ConTeXt Standalone Funtoo]] Howto. This might also work for [http:/cache with <code>mtxrun --generate</www.gentoo.org gentoo], but is untested right nowcode>.== MacOS ==
=== openSUSE ===The instructions for MacOS are the same as for Unix, but note that:
OpenSUSE * MacOS versions from Catalina (starting from 10.3beta315) comes with TeX Live and offers also XeTeX. 10.3b3 contains ConTeXt 2007.01newer use '''Zsh''' by default.12* MacOS versions before Catalina use '''Bash''' by default.
You can [http://software.opensuse.org/search?q=context search for OpenSUSE packages online]In OpenSUSE 11.3 there are two packages available. * texlive-context-2010-33.1.noarch.rpm* texlive-context-2009-26.1.noarch.rpm= Windows ==
=== freeBSD ===Complete the following steps to set up ConTeXt on Windows:
FreeBSD still relies on teTeX in # Create a directory for ConTeXt, such as `C:\context`.# Download the architecture-specific version into the ConTeXt directory.# Extract the ports collectionarchive. Alternately, TeXlive is now available as a branch extension, see [http# Run://<code>install.google.combat</p/freebsd-texlive/wiki/Installing] and [httpcode># Run://romain.blogreen<code>setpath.orgbat</blog/2011/08/texlive-2011-on-freebsd/], until migration to the main ports branch is completed.code>
[[TeX Live]] as a standalone installation will run "out of the box" on all recent versions of freeBSD (7, 8, 9) and extended support Installation is available for earlier versions; The [[ConTeXt Standalone]] installation is compiled for the latest stable release (currently 8.2)complete.
=First Run This section describes how to run ConTeXt to transform your first TeX document into a PDF. # Download the tex input file [[Media:Hello-world.tex|Hello-World.tex]] from our [[Detailed_Example|Detailed example]].# Run <code>context Hello-world.tex</code> in your terminal (or command prompt).# Check the PDF output <code>Hello-world.pdf</code>. Additional tutorials include: * [[First Document| Your first document]]* [[Detailed Example|Detailed example]] See the [[Sample documents]] page for even more examples. = OpenBSD ==Upgrade =
* [[OpenBSD installation|OpenBSD]]Re-run the install program to upgrade, which will update the distribution incrementally:
== Mac OS X ==* Windows: <code>install.bat</code>* [[Mac Installation]]Unix: <code>sh install.sh</code>
=Running MkIV = Windows ==There are two main TeX distributions for Windows wich contain a stable context* [[MikTeX]] (currently '''ConTeXt support is broken''')* [[TeX Live]] (provides stable ConTeXt)
Use The new distribution has all the files to run the previous version of ConTeXt. * Run <code>context --luatex Hello-world.tex</code> to use the `luatex` binary and [[ConTeXt Standalone|ConTeXt SuiteMkIV]], if you want up to date ConTeXt.
* [[Windows Installation]] ''(if you are also using LaTeX or have a favourite editor)''* [[Windows Installation: ConTeXt Suite with SciTe]] ''(the "for dummies" version for those who haven't done any TeXing before)''= Further installation instructions =
== Installation from source == * [[Installing ConTeXt LMTX on MacOS]]* [[TeX-live Modules#ConTeXt_LMTX| TeX-live installationInstalling Modules for ConTeXt LMTX]]* The official page '''[http: Specific installation instructions using the TeX//www.pragma-live source distributionade.nl/install.htm Installing ConTeXt LMTX ]''' is hosted by Pragma ADE.* Pragma ADE also provides the '''[http://www.pragma-ade.nl/download-1.htm ConTeXt MkIV distribution]''' (version MkIV is the predecessor of LMTX) for which there are also [[Installation hintsConTeXt_Standalone|detailed installation instructions]].
== external manuals on installation ==* [http://www.pragma-ade.com/general/manuals/minstall.pdf How to install context (outdated 2001)]---
{{Installation navbox}}
[[Category:Basics]]
[[Category:Installation]]

Navigation menu