Difference between revisions of "Installation/Developers"

From Apertium
Jump to navigation Jump to search
(wget -> curl)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Most people working on Apertium language data and tools will want to get the binaries from Tino Didriksens nightly packages.
If you want to work on Apertium language data and/or tools, you most likely want to use the binaries from Tino Didriksens ''nightly'' packages. Here's how you install them:


== Debian/Ubuntu ==
== Debian/Ubuntu ==
<pre>
<pre>
wget https://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash
curl -sS https://apertium.projectjj.com/apt/install-nightly.sh | sudo bash


sudo apt-get -f install apertium-all-dev
sudo apt-get -f install apertium-all-dev
Line 10: Line 10:
== RHEL/CentOS/Fedora/OpenSUSE ==
== RHEL/CentOS/Fedora/OpenSUSE ==
<pre>
<pre>
wget https://apertium.projectjj.com/rpm/install-nightly.sh -O - | sudo bash
curl -sS https://apertium.projectjj.com/rpm/install-nightly.sh | sudo bash


# If using RHEL/CentOS:
# If using RHEL/CentOS:
Line 20: Line 20:
</pre>
</pre>


== Mac ==
== Mac with Macports ==




Line 30: Line 30:
#* If not, download it from http://www.macports.org/install.php
#* If not, download it from http://www.macports.org/install.php


Install dependencies with macports and then the nightly apertium packages:
<pre>
<pre>
sudo port install autoconf automake expat flex \
sudo port install autoconf automake expat flex \
Line 39: Line 38:
curl https://apertium.projectjj.com/osx/install-nightly.sh | sudo bash
curl https://apertium.projectjj.com/osx/install-nightly.sh | sudo bash
</pre>
</pre>

<small>(see [[Apertium_on_Mac_OS_X]] if you use Homebrew instead of Macports)</small>

== Windows ==

Prerequisites:

* Get Ubuntu for Windows: https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6 or https://www.microsoft.com/en-us/p/ubuntu-1804-lts/9n9tngvndl3q

In the Ubuntu for Windows terminal:
<pre>
curl -sS https://apertium.projectjj.com/apt/install-nightly.sh | sudo bash

sudo apt-get -f install apertium-all-dev
</pre>

<small>If that doesn't work for you, use the [[Virtualbox]]</small>

== See also ==

* [[Installation]] for much much more info

[[Category:Documentation]]
[[Category:Installation]]
[[Category:Documentation in English]]

Latest revision as of 20:52, 2 April 2021

If you want to work on Apertium language data and/or tools, you most likely want to use the binaries from Tino Didriksens nightly packages. Here's how you install them:

Debian/Ubuntu[edit]

curl -sS https://apertium.projectjj.com/apt/install-nightly.sh | sudo bash

sudo apt-get -f install apertium-all-dev

RHEL/CentOS/Fedora/OpenSUSE[edit]

curl -sS https://apertium.projectjj.com/rpm/install-nightly.sh | sudo bash

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

Mac with Macports[edit]

Prerequisites:

  1. Make sure XCode is installed
  2. Make sure Macports is installed
sudo port install autoconf automake expat flex \
 gettext gperf help2man libiconv libtool \
 libxml2 libxslt m4 ncurses p5-locale-gettext \
 pcre perl5 pkgconfig zlib gawk icu cmake boost gperftools

curl https://apertium.projectjj.com/osx/install-nightly.sh | sudo bash

(see Apertium_on_Mac_OS_X if you use Homebrew instead of Macports)

Windows[edit]

Prerequisites:

In the Ubuntu for Windows terminal:

curl -sS https://apertium.projectjj.com/apt/install-nightly.sh | sudo bash

sudo apt-get -f install apertium-all-dev

If that doesn't work for you, use the Virtualbox

See also[edit]