Difference between revisions of "User:Jatinluthra14"

From Apertium
Jump to navigation Jump to search
Line 2: Line 2:
   
 
I'm using Ubuntu 15.10 Willy Werewolf
 
I'm using Ubuntu 15.10 Willy Werewolf
  +
  +
===Change the user===
  +
Change the user to root
  +
su
  +
Enter the root password.
   
 
===Install Requirements===
 
===Install Requirements===
   
 
Type in the following command:
 
Type in the following command:
sudo apt-get install libreoffice python3.4 git make sed findutils zip unzip
+
apt-get install libreoffice python3.4 git make sed findutils zip unzip
 
cd ~
Type in the current password and Press Enter.
 
  +
cd ~
 
  +
* Download Requirements
  +
Goto http://voikko.puimula.org/sources.html
  +
Download all the packages
   
 
* Install Foma
 
* Install Foma
Line 14: Line 22:
 
cd foma
 
cd foma
 
make && sudo make install
 
make && sudo make install
  +
  +
* Install hfst-ospell
  +
wget http://downloads.sourceforge.net/project/hfst/hfst/source/hfstospell-0.4.0.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fhfst%2Ffiles%2Fhfst%2Fsource%2F&ts=1452085521&use_mirror=ncu
  +
./configure --enable-zhfst && make && sudo make install
  +
  +
* Install libvoikko
  +
Extract libvoikko and change the directory
  +
./configure --prefix=/usr/local/voikko --with-dictionary-path=/usr/local/voikkodict; make
  +
make install
  +
  +
* Install voikko-fi
  +
Extract and change the directory. Then
  +
PATH=/usr/local/voikko/bin:$PATH make vvfst
  +
make vvfst-install DESTDIR=/usr/local/voikkodict
  +
  +
   
   

Revision as of 13:13, 6 January 2016

How to install libreoffice-voikko on Ubuntu/Debian

I'm using Ubuntu 15.10 Willy Werewolf

Change the user

Change the user to root

su

Enter the root password.

Install Requirements

Type in the following command:

apt-get install libreoffice python3.4 git make sed findutils zip unzip
cd ~
  • Download Requirements

Goto http://voikko.puimula.org/sources.html Download all the packages

  • Install Foma
svn co http://foma.googlecode.com/svn/trunk/foma/
cd foma
make && sudo make install
  • Install hfst-ospell
wget http://downloads.sourceforge.net/project/hfst/hfst/source/hfstospell-0.4.0.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fhfst%2Ffiles%2Fhfst%2Fsource%2F&ts=1452085521&use_mirror=ncu
./configure --enable-zhfst && make && sudo make install
  • Install libvoikko

Extract libvoikko and change the directory

./configure --prefix=/usr/local/voikko --with-dictionary-path=/usr/local/voikkodict; make
make install
  • Install voikko-fi

Extract and change the directory. Then

PATH=/usr/local/voikko/bin:$PATH make vvfst
make vvfst-install DESTDIR=/usr/local/voikkodict



Install LibreOffice-Voikko

Get it

git clone https://github.com/voikko/libreoffice-voikko

Change Directory and Compile

cd libreoffice-voikko/
make oxt

Adding the extension to LibreOffice

Open LibreOffice Goto Tools>Extension Manager Click on the Add button Browse to libreoffice-voikko>build Open voikko.oxt

Done