forked from ppc64le/build-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunivocity-parsers_rhel_7.4.sh
33 lines (29 loc) · 1.18 KB
/
univocity-parsers_rhel_7.4.sh
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
# ----------------------------------------------------------------------------
#
# Package : univocity-parsers
# Version : 2.5.9
# Source repo : https://github.com/uniVocity/univocity-parsers
# Tested on : rhel_7.4
# Script License: Apache License, Version 2 or later
# Maintainer : Snehlata Mohite <[email protected]>
#
# Disclaimer: This script has been tested in non-root mode on given
# ========== platform using the mentioned version of the package.
# It may not work as expected with newer versions of the
# package and/or distribution. In such case, please
# contact "Maintainer" of this script.
#
# ----------------------------------------------------------------------------
#!/bin/bash
sudo yum update
sudo yum install -y make gcc-c++ java-1.8.0-openjdk-devel git wget tar zip
#Install maven
wget http://www-us.apache.org/dist/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz
tar -zxvf apache-maven-3.5.2-bin.tar.gz
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
export PATH=$JAVA_HOME/bin:$PATH:`pwd`/apache-maven-3.5.2/bin
WDIR=`pwd`
cd $WDIR
git clone https://github.com/uniVocity/univocity-parsers
cd $WDIR/univocity-parsers
mvn install