Can't install apertium language packages from source – make command shows errors

I am trying to install apertium-eng-ita package from source (available at The system is debian 11 (i tried also on fresh ubuntu, get the same error). So i downloaded all the files into my /root directory (/root/eng-ita contents all the files from provided link) and run:


This generated all the necessary files inside the "eng-ita" folder, including "Makefile". But then i run:


and see errors like:

apertium-validate-dictionary apertium-eng-ita.eng-ita.dix /bin/bash:
apertium-validate-dictionary: command not found make: ***
[Makefile:769: eng-ita.autobil.bin] Error 127

I began googling (for example, here is some info – this 127 error and found some information about PATH, but where i can put this PATH to make it work?

>Solution :

If you’re installing from source, you should first add the apt source and install apertium-all-dev which will give you make etc. Cf. you should

curl -sS | sudo bash

sudo apt-get -f install locales build-essential automake subversion git pkg-config \
                        gawk libtool apertium-all-dev

(But you don’t need to install from source if you just want to use the pair and not develop for it. There are nightly debian packages of the latest git commit; after running the first command you can get that package with sudo apt install apertium-eng-ita)

Leave a Reply