Skip to content

Commit

Permalink
Added Java to the yum install
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewCRMartin committed Aug 14, 2017
1 parent 30dfc74 commit 88bdcde
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions README.md
Expand Up @@ -78,9 +78,9 @@ For full details simply run:

## What happens during the install...

1. `expat`, `wget`, `libxml2` and `libxml2-devel` are installed using
`yum`. See below if you are using a system other than
RedHat/CentOS/Fedora.
1. `expat`, `wget`, `libxml2`, `libxml2-devel` and
`java-1.8.0-openjdk` are installed using `yum`. See below if you are
using a system other than RedHat/CentOS/Fedora.

2. CPAN is updated and the Module::Build module is installed. Other
Perl dependencies are then installed using CPAN including Moose and
Expand All @@ -98,8 +98,11 @@ packages.

The only requirement for RedHat-style Linux is for the yum
installation tool. This is used only to install `expat`, `wget`,
`libxml2` and `libxml2-devel`. If you are using another Linux version,
then install these packages using your package manager
(e.g. `apt-get`) and comment out the line:
`libxml2`, `libxml2-devel` and `java-1.8.0-openjdk`. If you are using
another Linux version then, from the install.sh script, comment out
the line:

```sudo yum -y install expat wget libxml2 libxml2-devel```
```sudo yum -y install expat wget libxml2 libxml2-devel java-1.8.0-openjdk```

Install these packages using your package manager (e.g. `apt-get`) and
then run the install script.
2 changes: 1 addition & 1 deletion install.sh
Expand Up @@ -41,7 +41,7 @@ if promptUser "Install system files and update CPAN?"; then
### Comment this out if you have installed expat using ###
### another package manager (i.e. you don't have yum) ###
##########################################################
sudo yum -y install expat wget libxml2 libxml2-devel
sudo yum -y install expat wget libxml2 libxml2-devel java-1.8.0-openjdk

sudo $PERL -MCPAN -e shell <<EOF
install CPAN
Expand Down

0 comments on commit 88bdcde

Please sign in to comment.