Installing SRILM on Ubuntu 11.10
I’ve recently upgraded to Ubuntu 11.10, which I had avoided due to the Unity fiasco, among other reports of general “bugginess.” 10.04 worked really well for me for years. One of the first jobs was to install SRILM. Previously, installation proceeded without incident. Not this time. Here is how I got it to install in /usr/share/srilm on a 64-bit architecture:
- mkdir /usr/share/srilm
- mv srilm.tgz /usr/share/srilm
- cd /usr/share/srilm
- tar xzf srilm.tgz
- sudo apt-get install tcl tcl-dev csh gawk
- In Makefile, uncomment the SRILM= parameter and point it to /usr/share/srilm (or your equivalent path)
- make NO_TCL=1 MACHINE_TYPE=i686-ubuntu World
- Add the following to your .bashrc
SRILM=/usr/share/srilm
export PATH=$PATH:$SRILM/bin:$SRILM/bin/i686-ubuntu
export MANPATH=$SRILM/man:$MANPATH
Now you should be able to run ‘make test’ successfully.
4 Responses to 'Installing SRILM on Ubuntu 11.10'
Leave a Reply
You must be logged in to post a comment.
[…] Installing SRILM on Ubuntu 11.10 […]
Run it for the first time | herrysujaini
25 Feb 12 at 05:08
[…] There is no clear installation guide to install SRILM on ubuntu 14.04. There was one for 11.10 but it is outdated and it doesn’t work properly. http://www.spencegreen.com/2012/02/01/installing-srilm-on-ubuntu-11-10/ […]
How do I install SRILM on ubuntu 14.04? - TecHub
2 Apr 15 at 22:14
[…] There is no clear installation guide to install SRILM on ubuntu 14.04. There was one for 11.10 but it is outdated and it doesn’t work properly. http://www.spencegreen.com/2012/02/01/installing-srilm-on-ubuntu-11-10/ […]
Ubuntu:How do I install SRILM on ubuntu 14.04? – Ubuntu Linux Questions
9 Nov 15 at 23:44
Hello, i am trying a few days to install srilm and i have problems with
make NO_TCL=1 MACHINE_TYPE=i686-ubuntu World
make: *** No rule to make target `World’. Stop.
Do you know the reason why?
Thanks in advance
Despina
24 Nov 15 at 13:45