1. Download the OpenFOAM and Third-Party libraries with dependencies. wget https://dl.openfoam.com/source/v2212/OpenFOAM-v2212.tgz wget https://dl.openfoam.com/source/v2212/ThirdParty-v2212.tgz 2. Now, untar both the files. tar -zxvf OpenFOAM-v2212.tgz tar -zxvf ThirdParty-v2212.tgz 3. Also, install the GCC latest version(12.2.0) as it is causing errors since in the dev cloud the gcc version is 9.4 and it does not give root permissions, could you please try installing in your directory using prefix. wget https://ftp.gnu.org/gnu/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.gz tar -xzvf gcc-12.2.0.tar.gz mkdir -p obj.gcc-${GCC_VERSION} cd gcc-12.2.0 ./contrib/download_prerequisites cd ../obj.gcc-12.2.0 ../gcc-12.2.0/configure --disable-multilib -enable-languages=c,c++,fortran -prefix=/home/sdp/AOpenFOAM/gcc-12.2.0 make -j 16 make install export PATH=/……./gcc-12.2.0/bin:$PATH export LD_LIBRARY_PATH=/…../gcc-12.2.0/lib64:${LD_LIBRARY_PATH} Check the version of the GCC compiler(gcc --version) 4. Go to the working directory then run the bash script(run.txt) using the command "bash run" 5. While running I got some errors and later I had installed zlib1g, zlib1g-dev -y and flex then it used to run then you get attached screenshot(OpenFOAM_screenshot1.png) 6. Go to the Working Directory and OpenFOAM-v2212 then do source ./etc/bashrc source ./etc/config.sh/setup 7. Go to the tutorials folder(OpenFOAM-v2212/tutorials/incompressible/simpleFoam/motorBike) and check if you are able to run the command ./Allrun. You can get the output as in the screenshot(OpenFOAM_screenshot2.png)