### Examples
-#### Install deal.II on RHEL 7, CentOS 7 or Fedora 26, 27, 28:
+#### Install deal.II on RHEL 7, CentOS 7 or Fedora:
```bash
module load mpi/openmpi-`uname -i`
./candi.sh
local OS_PRETTY_NAME=$(grep -oP '(?<=^PRETTY_NAME=).+' /etc/os-release | tr -d '"')
if [ "$OS_ID" == "fedora" ]; then
- echo fedora${OS_VERSIONID}
+ echo fedora
elif [ "$OS_ID" == "centos" ]; then
echo centos${OS_VERSIONID}
-# Fedora 26
+# Fedora
# This build script assumes that you have several packages already
# installed via Fedora's dnf using the following command:
#
# $ sudo dnf install \
-# @development-tools gcc-c++ cmake openmpi openmpi-devel splint \
-# patch libtool lua lua-devel \
+# @development-tools gcc-c++ cmake patch libtool lua lua-devel \
+# doxygen graphviz graphviz-devel \
# blas blas-devel lapack lapack-devel \
-# doxygen graphviz graphviz-devel qt-devel \
-# metis metis-devel
+# openmpi openmpi-devel \
+# metis metis-devel
#
# Please load the 'openmpi' compiler with
# $ module load mpi/openmpi-x86_64
#
# Define the additional packages for this platform.
#PACKAGES="once:cmake ${PACKAGES}"
-
+++ /dev/null
-# Fedora 27
-
-# This build script assumes that you have several packages already
-# installed via Fedora's dnf using the following command:
-#
-# $ sudo dnf install \
-# @development-tools gcc-c++ cmake openmpi openmpi-devel splint \
-# patch libtool lua lua-devel \
-# blas blas-devel lapack lapack-devel \
-# doxygen graphviz graphviz-devel qt-devel \
-# metis metis-devel
-#
-# Please load the 'openmpi' compiler with
-# $ module load mpi/openmpi-x86_64
-# and then set the compiler enviroment variables to
-# $ export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
-# before you continue!
-##
-
-#
-# Define the additional packages for this platform.
-#PACKAGES="once:cmake ${PACKAGES}"
-
+++ /dev/null
-# Fedora 28
-
-# This build script assumes that you have several packages already
-# installed via Fedora's dnf using the following command:
-#
-# $ sudo dnf install \
-# @development-tools gcc-c++ cmake openmpi openmpi-devel splint \
-# patch libtool lua lua-devel \
-# blas blas-devel lapack lapack-devel \
-# doxygen graphviz graphviz-devel qt-devel \
-# metis metis-devel
-#
-# Please load the 'openmpi' compiler with
-# $ module load mpi/openmpi-x86_64
-# and then set the compiler enviroment variables to
-# $ export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
-# before you continue!
-##
-
-#
-# Define the additional packages for this platform.
-#PACKAGES="once:cmake ${PACKAGES}"
-
+++ /dev/null
-# Fedora 29
-
-# This build script assumes that you have several packages already
-# installed via Fedora's dnf using the following command:
-#
-# $ sudo dnf install \
-# @development-tools gcc-c++ cmake openmpi openmpi-devel splint \
-# patch libtool lua lua-devel \
-# blas blas-devel lapack lapack-devel \
-# doxygen graphviz graphviz-devel qt-devel \
-# metis metis-devel
-#
-# Please load the 'openmpi' compiler with
-# $ module load mpi/openmpi-x86_64
-# and then set the compiler enviroment variables to
-# $ export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
-# before you continue!
-##
-
-#
-# Define the additional packages for this platform.
-#PACKAGES="once:cmake ${PACKAGES}"
-