Difference between revisions of "OpenBSD installation"

From Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
</code>
 
</code>
  
Modify this script to override <tt>platform=linux</tt>, alternatively use this already modified script: [[File:first-setup.sh]]
+
Modify this script to override <tt>platform=linux</tt>,
  
 
<code>
 
<code>

Revision as of 22:35, 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,

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