OpenBSD installation

From Wiki
Jump to navigation Jump to search

Introduction

The easiest way to install the latest ConTeXt on OpenBSD is using ConTeXt Standalone's Linux version and use it with OpenBSD's Linux emulation layer. Alternative, native methods may be described on this page in the future. 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.