Prerequisites for RPM

From Apertium
Revision as of 02:34, 9 March 2018 by Shardulc (talk | contribs) (GitHub migration)
Jump to navigation Jump to search

This page shows how to install the standard dependencies of apertium (and related packages) on RHEL / CentOS / Fedora / OpenSUSE and operating systems based on those.


If you don't plan on working on the core C++ packages (but only want to work on / use language pairs), you can install all prerequisites with yum/zypper, using User:Tino Didriksen's repository. The first line here adds this repository to yum/zypper, then we can just install the usual way:

# Pick one
# Release, stable:
wget https://apertium.projectjj.com/rpm/install-release.sh -O - | sudo bash
# Or nightly, unstable:
wget https://apertium.projectjj.com/rpm/install-nightly.sh -O - | sudo bash

# RHEL/CentOS:
sudo yum install apertium-all-devel
# Fedora:
sudo dnf install apertium-all-devel
# OpenSUSE:
sudo zypper install apertium-all-devel

For a list of available language pairs and other packages, see https://build.opensuse.org/project/show/home:TinoDidriksen:release and https://build.opensuse.org/project/show/home:TinoDidriksen:nightly

If you want to work on a language pair, you'll have to check out the language data from GitHub and compile it.

Otherwise, e.g. if you want to work on the core C++ packages, continue to Install Apertium core by compiling.