Difference between revisions of "Prerequisites for RPM"

From Apertium
Jump to navigation Jump to search
m (Document that PowerTools is needed)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
+
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. For RHEL/CentOS we require some dependencies from [https://docs.fedoraproject.org/en-US/epel/ EPEL], and for CentOS 8 we also require the PowerTools repo.
   
   
Line 6: Line 6:
 
# Pick one
 
# Pick one
 
# Release, stable:
 
# Release, stable:
wget https://apertium.projectjj.com/rpm/install-release.sh -O - | sudo bash
+
curl -sS https://apertium.projectjj.com/rpm/install-release.sh | sudo bash
 
# Or nightly, unstable:
 
# Or nightly, unstable:
wget https://apertium.projectjj.com/rpm/install-nightly.sh -O - | sudo bash
+
curl -sS https://apertium.projectjj.com/rpm/install-nightly.sh | sudo bash
   
# RHEL/CentOS/Fedora:
+
# RHEL/CentOS:
 
sudo yum install apertium-all-devel
 
sudo yum install apertium-all-devel
  +
# Fedora:
  +
sudo dnf install apertium-all-devel
 
# OpenSUSE:
 
# OpenSUSE:
 
sudo zypper install apertium-all-devel
 
sudo zypper install apertium-all-devel
Line 18: Line 20:
 
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
 
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 [[Minimal installation from SVN|check out the language data from SVN]] and compile it (but you can still skip the stuff about installing apertium/lttoolbox/apertium-lex-tools).
+
If you want to ''work on'' a language pair, you'll have to [[Install language data by compiling|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]].
 
Otherwise, e.g. if you want to work on the core C++ packages, continue to [[Minimal installation from SVN]].
 
   
 
[[Category:Installation]]
 
[[Category:Installation]]

Latest revision as of 10:03, 12 January 2022

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. For RHEL/CentOS we require some dependencies from EPEL, and for CentOS 8 we also require the PowerTools repo.


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:
curl -sS https://apertium.projectjj.com/rpm/install-release.sh | sudo bash
# Or nightly, unstable:
curl -sS https://apertium.projectjj.com/rpm/install-nightly.sh | 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.