Getting started with the GiellaLT infrastructure on Linux
This page is a part of the overall Getting started documentation. It describes what you need to install on Linux to be ready to develop language tools for your language.
Note that this documentation is relevant when you want to participate in building and developing the grammatical tools yourself. If you only want to use the ready-made grammatical analysers, see the Linguistic analysis page.
Installing required auxiliary programs
Install development tools.
Debian-based
If you have Ubuntu (or another Debian-based system), do the following:
Add the apertium nightly repository:
wget https://apertium.projectjj.com/apt/install-nightly.sh -O - | sudo bash
Then run:
sudo apt-get install hfst apertium-dev cg3 divvun-gramcheck libreoffice-divvun \
python3-libdivvun autoconf automake libtool libsaxonb-java xsltproc \
poppler-utils wget subversion openjdk-11-jdk cmake \
python3-yaml icu-devtools python3-corpustools python3-gtgramtools \
apertium-all-dev libdivvun-dev libhfst-dev git git-lfs pipx
Red Hat-based (currently unavailable)
For Fedora systems:
Add the apertium nightly repository:
curl -sS https://apertium.projectjj.com/rpm/install-nightly.sh | sudo bash
Then use dnf to install the same packages as above.
Arch-based
Support for Arch-based systems is a work in progress and not all packages are available yet.
To install, add the following lines to your
/etc/pacman.conf file:
[wolfpkg]
SigLevel = Optional TrustAll
Server = https://wolfpkg.pjj.cc/d/archlinux/$arch
Then update with sudo pacman -Syu, and run:
sudo pacman -S --needed hfst apertium vg3 divvun-gramcheck libdivvun autoconf automake \
libtool poppler wget subversion jdk11-openjdk cmake python-yaml divvun-corpustools \
divvun-gtgramtools git git-lfs python-pipx
Install testing tools
For some additional python based tools and automatic testing, set up pipx like so:
pipx ensurepath
pipx install git+https://github.com/divvun/morph-test
pipx install git+https://github.com/divvun/GiellaLTGramTools
pipx install git+https://github.com/divvun/GiellaLTLexTools
Now go back to to Getting Started page for the next step towards building, using and developing the linguistic analysers.