Instructions for Red Hat, Rocky Linux, AlmaLinux and Fedora partially valid
Hello. Here, the section mixes a common methodology for OS types that are not eligible to observe a common methodology. I assumed the instructions are valid for v. 1.0.0 and superior. As expected i did not test on non-relevant OSs; classical releases of Centos illustrate that case since their support has been interrupted and stopped by IBM via Red Hat. Hence valid releases for platform test illustrate nowadays Rocky Linux and AlmaLinux.
- On Rocky Linux 9
The dnf command will bet found; it is supported. Are pre-installed: dnf-plugins-core and python3.
As pre-requisite instructions
# dnf install epel-release
# dnf config-manager --set-enabled PowerTools
Error: No matching repo to modify: PowerTools.
Once dnf install epel-release has been executed, i assume there is no need to execute that dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm. As noticeable json-c-devel and sendmail-devel are not present in any repository. Perhaps json-devel, which is present in repository, might be the one meant to install. Nevertheless no match for sendmail-devel.
Worth noting | the installation of epel-release has not additional effect which indicates that it could be avoided.
Supposing json-devel is valid, then pre-requisite instructions would be dnf install cargo gcc-c++ cmake python3-pip valgrind {bzip2,check,json,libcurl,libxml2,ncurses,openssl,pcre2,zlib}-devel which installs dependencies, make, gcc and rust among others. At last pip3 install pytest is needed.
- On Fedora
Are pre-installed: dnf-plugins-core and python3.
As pre-requisite instructions the folowing is valid: dnf install cargo gcc-c++ cmake python3{-pip,-pytest} valgrind {bzip2,check,json,libcurl,libxml2,ncurses,openssl,pcre2,sendmail,zlib}-devel.
Note that sendmail-devel is there present. in repository.
@Ricky-Tigg sorry I didn't notice this ticket until now. If you are able, can you please submit your recommended changes as a PR? The file to edit is here https://github.com/Cisco-Talos/clamav-documentation/blob/main/src/manual/Installing/Installing-from-source-Unix.md
No action within a reasonable time frame
From which to draw a conclusion.