Difference between revisions of "OpenBSD installation"

From Wiki
Jump to navigation Jump to search
m ({{Installation navbox}})
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Introduction ==
 
== 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.
+
The easiest way to install the latest ConTeXt on OpenBSD is using [[ConTeXt_Standalone|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 ==
 
== Using Linux Emulation ==
Line 13: Line 13:
 
</code>
 
</code>
  
Modify this script to override <tt>platform=linux</tt>,
+
Modify this script to override <tt>platform=linux</tt>.
  
 
<code>
 
<code>
 
  $ sh ./first-setup.sh --modules=all
 
  $ sh ./first-setup.sh --modules=all
  $ export PATH="$PATH:$HOME/context/tex/texmf-linux/bin
+
  $ export PATH="$PATH:$HOME/context/tex/texmf-linux/bin"
 
  $ context --make
 
  $ context --make
 
  $ context --version
 
  $ context --version
Line 23: Line 23:
  
 
This setup will use mkiv (the luatex version) and does not need either pdftex, or ruby.
 
This setup will use mkiv (the luatex version) and does not need either pdftex, or ruby.
 +
 +
{{Installation navbox}}
  
 
[[Category:Installation]]
 
[[Category:Installation]]

Latest revision as of 16:02, 20 November 2012

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.