Installation of necessary packages
To compile Arcane, it is necessary to install the following packages:
# Necessary packages
yum -y install dotnet-sdk-6.0 glib2-devel libxml2-devel gcc-c++
The default version of CMake on AlmaLinux 9 is too old (3.20). Therefore, you must download a more recent version.
The following command allows installing version 3.27.8 in /usr/local. You will then need to add the corresponding path to the PATH environment variable.
# Install CMake 3.27.8 in /usr/local/cmake
cd /tmp
ARCH=`uname -m`
wget -O install.sh https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-linux-${ARCH}.sh
chmod u+x install.sh
./install.sh --skip-license --prefix=/usr/local
cmake --version