-
Notifications
You must be signed in to change notification settings - Fork 2
/
gluex_prereqs_almalinux_9.sh
executable file
·31 lines (31 loc) · 1.26 KB
/
gluex_prereqs_almalinux_9.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
#!/bin/bash
dnf -y update
dnf -y install epel-release
dnf -y install dnf-plugins-core
#dnf config-manager --set-enabled PowerTools
#dnf config-manager --set-enabled powertools
dnf config-manager --set-enabled crb
dnf install -y subversion wget gcc-c++ gcc-gfortran imake libXt-devel \
openmotif-devel libXpm-devel python-unversioned-command \
bzip2-devel tcsh python3-scons expat-devel \
perl-XML-Simple perl-XML-Writer patch perl-File-Slurp git \
mesa-libGLU-devel cmake \
boost-devel gsl-devel glibc-langpack-en \
libtool which bc nano cmake3 xrootd-client-libs xrootd-client \
make libXi-devel python3-future \
emacs gdb mariadb xterm python3-devel boost-python3-devel fmt-devel \
libtirpc-devel mariadb-devel python3-mysqlclient xrootd-devel xrootd-client-devel \
libnsl2-devel qt5 qt5-qtx11extras qt5-devel \
python3-sqlalchemy python3-ply python3-click
# apptainer
pip install mysql-connector-python
cd /usr/include
ln -s freetype2/freetype freetype
isDockerBuildkit(){
local cgroup=/proc/1/cgroup
test -f $cgroup && [[ "$(<$cgroup)" = *:cpuset:/docker/buildkit/* ]]
}
isKanikoBuild(){
test ["$KANIKO_EXECUTOR"=="true"]
}
if isDockerBuildkit || isKanikoBuild; then source /gluex_install/gluex_prereqs_postprocessor.sh ; fi