Changes

Jump to navigation Jump to search
685 bytes added ,  11:31, 2 July 2020
= Unix-like platforms (Linux/MacOS X/FreeBSD/Solaris) =
For Mac installation see also [http=== (MacOS X) Using the Command line://wikiTerminal.contextgardenapp === If you do not what a command tool is, do not worry.net/Mac_Installation Mac installation page]It is simply a program in which commands are entered as text and then executed. The needed Terminal.app can be found in the Utilities-folder of the Applications-Folder. Once you have started Terminal, all you have to do is enter a command and press the RETURN-key and the command will be executed.
== 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 and place it in <code>$HOME/context</code> directory. Open a terminal, then:...
execute (Linux/FreeBSD/Solaris):
<pre>
mkdir ~/context
cd ~/context
wget http://minimals.contextgarden.net/setup/first-setup.sh
</pre>
 
or (MacOS):
<pre>
mkdir ~/context
cd ~/context
rsync -av rsync://contextgarden.net/minimals/setup/first-setup.sh .
</pre>
Since the Mac does not have `wget` pre-installed.
Now run the `first-setup.sh` script:
<pre>
# Install the latest beta of ConTeXt
# This takes a long time, so go have a coffee
== System-wide installation ==
A system wide installation is '''only''' recommended for experienced users who . You will need administrator rights on the Mac as only administrators are comfortable with allowed to install programs in the command line. Only the location of installing ConTeXt is different for a system wide installationApplications folder, or root (sudo) privileges on other unix-like systems.
* on Linux you can use <code>/opt/context</code>
cd context
# Fetch the install script(use rsync on the mac, see above)
wget http://minimals.contextgarden.net/setup/first-setup.sh
== Apache webserver installation ==
Another common usecase use case is invoking ConTeXt from within a web application. Because web directories are often self-contained, and in the case of Apache under Ubuntu, ownership of the directory and its contents are assigned to a user and group without a login shell, e.g., <code>www-data:www-data</code> this prevents a web application from invoking a ConTeXt installation done using either the single-user or system-wide method listed above.
In this case the solution is to install ConTeXt within the website tree, and ideally in the public sub-tree. The public sub-tree is commonly the home directory for the application and relative pathnames are resolved as if immediately below it.

Navigation menu