Changes

Jump to navigation Jump to search
m
no edit summary
The steps in this section show how to download and install ConTeXt for a 64-bit Linux system. Change the archive file download link as needed for your target platform. Open a new terminal then run the following commands:
# <code>mkdir $HOME/context# </code> and <code>cd $HOME/context</code>
# wget https://lmtx.pragma-ade.com/install-lmtx/context-linux-64.zip
# unzip context-linux-64.zip
# sh install.sh
# Update the PATH environment variable by using the path instructions displayed when the install program finishes. The instructions will vary depending on 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=...instructions...:$PATH' >> ~/.profile</code>
** '''Tcsh'''/'''csh''': <code>echo 'set path = ($path ...instructions...)' >> ~/.cshrc</code>
** For example, if ConTeXt was downloaded into `$HOME/context` on a system running bash, then the following line would update the PATH environment variable: <code>echo 'export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH' >> ~/.bashrc</code>
# Then generate the cache with <code>mtxrun --generate</code>.
Update the PATH environment variable by using the path instructions displayed when the install program finishes. The instructions will vary depending on 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=...instructions...:$PATH' >> ~/.profile</code>
* '''Tcsh'''/'''csh''': <code>echo 'set path = ($path ...instructions...)' >> ~/.cshrc</code>
 
For example, if ConTeXt was downloaded into `$HOME/context` on a system running bash, then the following line would update the PATH environment variable:
 
<code>echo 'export PATH=$HOME/context/tex/texmf-linux-64/bin:$PATH' >> ~/.bashrc</code>
 
Then generate the cache with
<code>mtxrun --generate</code>.
== MacOS ==
237

edits

Navigation menu