Can't install openfoam on redhat 8.4
The installation of openfoam fails on Redhat 8.4. We are following the instructions found here: https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/redhat
Here is the output
yum -y install dnf-plugins-core Updating Subscription Management repositories. Last metadata expiration check: 3:33:39 ago on Tue 22 Mar 2022 04:43:37 AM UTC. Package dnf-plugins-core-4.0.21-4.el8_5.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
yum -y config-manager --set-enabled PowerTools Updating Subscription Management repositories. Error: No matching repo to modify: PowerTools. yum -y install epel-release Updating Subscription Management repositories. Last metadata expiration check: 3:34:58 ago on Tue 22 Mar 2022 04:43:37 AM UTC. Package epel-release-8-14.el8.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
dnf -y copr enable openfoam/openfoam Updating Subscription Management repositories. Enabling a Copr repository. Please note that this repository is not part of the main distribution, and quality may vary.
The Fedora Project does not exercise any power over the contents of this repository beyond the rules outlined in the Copr FAQ at https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr, and packages are not held to any quality or security level.
Please do not file bug reports about these packages in Fedora Bugzilla. In case of problems, contact the owner of this repository. Repository successfully enabled.
yum -y install openfoam2106 --installroot=/shared/apps/openfoam/yum Unable to detect release version (use '--releasever' to specify release version) Updating Subscription Management repositories. Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Copr repo for openfoam owned by openfoam 7.0 kB/s | 3.3 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 5.6 B/s | 10 B 00:01 Errors during downloading metadata for repository 'rhel-8-for-x86_64-appstream-rpms':
- Status code: 404 for https://cdn.redhat.com/content/dist/rhel8/$releasever/x86_64/appstream/os/repodata/repomd.xml (IP: 188.8.131.52) Error: Failed to download metadata for repo 'rhel-8-for-x86_64-appstream-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried