Difference between revisions of "OpenBSD installation"
Jump to navigation
Jump to search
m (Reverted edits by 24.73.127.130 (Talk) to last version by Taco) |
|||
Line 1: | Line 1: | ||
− | + | == Introduction == | |
− | + | The easiest way to install the latest ConTeXt on OpenBSD is using ConTeXt Standalone's linux platform through the emulation layer. The alternative is to build luatex manually, however both approaches (at the moment) make use of ConTeXt Standalone's linux platform. The full installation is ~210M, without the 3rd party modules ~185M. | |
− | + | == Using Linux Emulation == | |
− | |||
− | == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<code> | <code> | ||
− | + | $ sudo pkg_add rsync fedora_base | |
− | + | $ sudo sysctl kern.emul.linux=1 | |
− | + | $ mkdir $HOME/context | |
+ | $ cd $HOME/context | ||
+ | $ ftp http://minimals.contextgarden.net/setup/first-setup.sh | ||
</code> | </code> | ||
− | + | Modify this script to override <tt>platform=linux</tt>, alternatively use this already modified script: [[File:first-setup.sh]] | |
<code> | <code> | ||
− | + | $ sh ./first-setup.sh --modules=all | |
− | + | $ export PATH="$PATH:$HOME/context/tex/texmf-linux/bin | |
− | + | $ context --make | |
+ | $ context --version | ||
</code> | </code> | ||
− | + | This setup will use mkiv (the luatex version) and does not need either pdftex, or ruby. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Installation]] | [[Category:Installation]] |
Revision as of 22:28, 9 November 2011
Introduction
The easiest way to install the latest ConTeXt on OpenBSD is using ConTeXt Standalone's linux platform through the emulation layer. The alternative is to build luatex manually, however both approaches (at the moment) make use of ConTeXt Standalone's linux platform. The full installation is ~210M, without the 3rd party modules ~185M.
Using Linux Emulation
$ sudo pkg_add rsync fedora_base
$ sudo sysctl kern.emul.linux=1
$ mkdir $HOME/context
$ cd $HOME/context
$ ftp http://minimals.contextgarden.net/setup/first-setup.sh
Modify this script to override platform=linux, alternatively use this already modified script: File:first-setup.sh
$ sh ./first-setup.sh --modules=all
$ export PATH="$PATH:$HOME/context/tex/texmf-linux/bin
$ context --make
$ context --version
This setup will use mkiv (the luatex version) and does not need either pdftex, or ruby.