dependencies.txt 1.22 KB
Newer Older
priyank's avatar
priyank committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
Dependencies:
+ jdk8
Follow below steps to install jdk:-
 a) Download Jdk-8 from oracle website for linux 64 bit tar 
 b) cp downloaded package to '/usr/local'
 c) tar -xvf jdk-<version>-linux-x64.tar.gz
 d) vim /etc/profile
 e) export JAVA_HOME="/usr/local/jdk<version>"
 f) export PATH=$PATH:$JAVA_HOME/bin
 g) source /etc/profile
 h) java -version

+ CRF++ 0.51+
Follow below steps to install CRF++:-
 $ cd CRF++-0.51
 $./configure
 $make
 $make install
 check if it is installed properly or not :-
 crf_test --version
Note:-
 if 'libcrfpp.so.0' not found after CRF installation than use below command
 ln -s /usr/local/lib/libcrfpp.so.0 /usr/lib/libcrfpp.so.0

+ gcc

+ gdbm

+ libgdbm-dev

+ glib-2.0

+ libglib2.0-dev
For ubuntu use following command:
sudo apt-get install libgdbm-dev libglib2.0-dev g++

# apache ant installation
- wget https://downloads.apache.org/ant/manual/apache-ant-1.10.6-manual.tar.gz
- sudo cp apache-ant-1.10.6-manual.tar.gz /usr/local/
- cd /usr/local/
- sudo su 
- tar -xvf apache-ant-1.10.6-manual.tar.gz
- # exit from root by typing exit
- vim .bashrc
- Add following lines at the bottom of file:
export ANT_HOME=/usr/local/<ANT DIRECTORY
export PATH=${PATH}:${ANT_HOME}/bin
- save the file
- $source .bashrc