arif/INSTALL.md

1.4 KiB

Prerequisites

Runtime requirements:

  • POSIX.1-2001 compliant operating system
  • GNU Readline (optional)

Build tools:

  • GNU Autotools (Autoconf, Automake, Libtool, Autoconf Archive)
  • pkg-config
  • POSIX-compliant make
  • C compiler with ISO C99 support
  • GNU Texinfo (optional, for building the user manual)

Other softwares (optional):

Build and Install

ARIF can be built and installed from source using the GNU build system.

Notable build options:

  • --with-readline[=PKGCONFIGDIR] (default), --without-readline
    • Whether to build the ARIF library with GNU Readline features.
  • --enable-arify (default), --disable-arify
    • Whether to build the arify command-line tool.
  • --with-rime[=PKGCONFIGDIR], --without-rime (default)
    • Whether to build the example Rime IME integration.

Example shell script:

mkdir build && cd build
autoreconf -i ..
../configure --prefix=${HOME}/.local
make
make install