CentOS install.sh

From Flooxs
Revision as of 16:20, 29 July 2019 by Thomas (talk | contribs) (Created page with " # Install the proper packages yum -y install git yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum -y upda...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
       # Install the proper packages
       yum -y install git
       yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
       yum -y update && sudo yum -y upgrade
       yum -y install tk-devel tcl-devel suitesparse openblas-threads64
       # See if FLXSHOME is set if not create it
       if [ -z $FLXSHOME ]; then mkdir flooxs && export FLXSHOME=`pwd`/flooxs; else echo "FLXSHOME is set to '$FLXSHOME'"; fi
       git clone https://github.com/marklaw59/flooxs.git $FLXSHOME
       cd $FLXSHOME
       # install the latest version of cmake
       wget https://github.com/Kitware/CMake/releases/download/v3.15.1/cmake-3.15.1-Linux-x86_64.sh
       chmod +x cmake-3.15.1-Linux-x86_64.sh
       ./cmake-3.15.1-Linux-x86_64.sh
       rm cmake-3.15.1-Linux-x86_64.sh
       # Build Plplot
       wget https://sourceforge.net/projects/plplot/files/plplot/5.15.0%20Source/plplot-5.15.0.tar.gz
       tar xvf plplot-5.15.0.tar.gz
       cd plplot-5.15.0
       mkdir build_dir
       cd build_dir
       mkdir install
       cmake -DCMAKE_INSTALL_PREFIX=./install ..
       make
       make install