Changes

Jump to navigation Jump to search
673 bytes removed ,  08:40, 14 July 2014
no edit summary
== Single user installation ==
Select a folder where you want to install ConTeXt. We recommend that you can use your <code>$HOME/context</code> directory. Create this folder. Then download [http://minimals.contextgarden.net/setup/first-setup.sh first-setup.sh] and place it in <code>$HOME/context</code> directory. Open a terminal, then:
<pre> mkdir ~/context cd ~/context Then make <code> wget http://minimals.contextgarden.net/setup/first-setup.sh</code> executable and run it to download the whole distribution and make formats:
chmod +x first-setup.sh# Install the latest beta of ConTeXt sh ./first-setup.sh # This takes a long time, so go have a coffee. By default, the suite installs ConTeXt beta. If # Flags you want can add to the stable version of ConTeXt, you can use  sh ./first-setup.sh call: # --modules=all # Install all third-party modules # --context=current # Install latest stable version # --engine=luatex # Install only MkIV, leave out MkIIBy default, # # This shrinks the suite does ''not'' install modules and other third party content. If you want the modules (and have the bandwidth), you can usefrom 270 MB to 200 MB
sh ./first-setup.sh --modules=all Installing mkiv only reduces the size of the installation (including all the modules) from about 270 to 200MB . Use  sh .</first-setup.sh --modules=all --engine=luatexpre>
== System-wide installation ==
A system wide installation is only recommended for users who are comfortable with the command line. Only the location of installing ConTeXt is different for a system wide installation.
* on Linux you can use <code>/opt/context</code>
* on MacOS X you can use <code>/Applications/ConTeXt</code>
Note that, at present, while ''using'' MkIV, you need to have write permissions<ref>Actually, you only need write permission for the <code>$TEXMFCACHE</code>.</ref> in the installation directory.<ref>This effectively means that only one user will be able to generate the formats</ref> So, if you are installing the suite in <code>/opt/context</code> or <code>/Applications/ConTeXt</code>, run.
<pre>chown `whoami` -R # Create the /opt/context<directory -- change as appropriate or desired if you # want a different installation directory. cd /pre>opt mkdir contextor # change ownership <pre>chown `whoami` -R /Applications/ConTeXt</pre>:`whoami` context cd context (<code>whoami</code> outputs your user name; you can type that directly, of course. The backticks substitute # Fetch the output of the <code>whoami</code> command as an argument to <code>chown</code>.)install script In order to install the suite, open a terminal, go to the installation directory and download [ wget http://minimals.contextgarden.net/setup/first-setup.sh first-setup.sh]:  $ rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh . Then run that script to download the whole distribution and make formats:
sh ./first-setup.sh# Install the latest beta of ConTeXt # This takes a long time, so go have a coffee. By default, the suite installs ConTeXt beta. If # Flags you want can add to the stable version of ConTeXt, you can use  sh ./first-setup.sh call: # --modules=all # Install all third-party modules # --context=current # Install latest stable version # --engine=luatex # Install only MkIV, leave out MkII # # This shrinks the install from 270 MB to 200 MB
By default, the suite does ''not'' install modules and other third party content sh ./first-setup. If you want the sh --modules (and have the bandwidth), you can use=all
sh .</first-setup.sh --modules=allpre>
===Cache===

Navigation menu