Hare Installation

Additional resources:

Installing from packages

Installing Hare from your distribution’s package manager is the recommended approach. The suggested name for the Hare package is “hare”, but your package manager may differ.

If you add Hare to your distribution, please let us know so we can add yours to this list. Instructions for package maintainers are available here.

Hare is young, so packages are not yet available for many distributions. If yours is unsupported, continue to the bootstrapping steps.

Bootstrapping Hare from source

Bootstrapping Hare only takes a few minutes.

Step 0: Pre-requisites

Step 1: Building the bootstrap compiler

  1. Obtain the bootstrap compiler source code
  2. ./configure
  3. make

Optionally run make check to compile and run the test suite as well, then run make install as root to install it to your system.

Step 2: Building the build driver & standard library

  1. Obtain the build driver source code
  2. Copy config.example.mk to config.mk and edit to taste
  3. Run make

Optionally run make check to build & run the standard library test suite as well, then run make install as root to install it to your system.