
# RedHat/CentOS/Rocky 8 Linux setup, 14 Apr, 2023   R Reynolds
# (this is for a build machine, requiring more than for a user)

# tcsh is used in part of the build
sudo dnf install -y tcsh gcc motif-devel gsl-devel libXpm-devel
sudo dnf install -y mesa-libGLw-devel mesa-libGLU-devel libXi-devel glib2-devel

# R needs to come from EPEL (Extra Packages for Enterprise Linux)
sudo dnf config-manager --set-enabled powertools
sudo dnf install -y epel-release
sudo dnf install -y R-devel

# for users (and to do a simple build test), we need python and matplotlib
# cmake: for building R packages
# -- note: python3 does not come with 'python', we have to ask for that
sudo dnf install -y cmake Xvfb
sudo dnf install -y python39 python3-matplotlib python3-numpy
sudo dnf install -y python3-flask python3-flask-cors
sudo alternatives --set python /usr/bin/python3
