OpenBSD installation

From Wiki
Revision as of 22:01, 26 December 2011 by Minusf (talk | contribs) (→‎Introduction)
Jump to navigation Jump to search

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.

$ 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.