Installing libyaml-devel
MongoDB requires the libyaml-devel dependency package to support configuration files in YAML format.
- Download the libyaml-devel RPM package.
1wget http://mirror.centos.org/centos/8-stream/PowerTools/aarch64/os/Packages/libyaml-devel-0.1.7-5.el8.aarch64.rpm --no-check-certificate
- Install libyaml-devel.
1yum install -y libyaml-devel-0.1.7-5.el8.aarch64.rpm

If you run the yum install command to install the RPM package, the RPM package automatically adapts to the current RPM version. You are advised to use the current installation method.
Parent topic: Installing by Compiling Source Code