Request | Add RHEL support

Hi, and thanks creating these wonderful cases! :smiley: :folded_hands:
I buy one each time with a new Raspberry Pi :blush:

May I ask to add support to RHEL-deritatives distros on argon1.sh script, like:

Knowing there are generally two use cases: headless server or user-friendly computer with GUI :slightly_smiling_face: some functions could be delayed depending of dev and tests complexity :relieved_face:

I am ready to contribute, and already identified following after some tests:

  • RHEL deritatives could be generally detected via rhel contained in ID_LIKE from /etc/os-release (some specific ID values: fedora for Fedora, almalinux for AlmaLinux, rocky for Rocky Linux)
  • add dnf package manager, or yum for compatibility (CentOS 7 reached EoL on June 30, 2024)
  • some packages can be missing on minimal setups, add detection for wget (Fedora 40+ migrated to wget2, probably RHEL11+ also) and python3 (to be added but not strictly checked as packages on RHEL are named python3.*)
  • rpi-eeprom-update can be used on AlmaLinux if rpi-eeprom package is installed manually
  • python3-smbus package needs to be swapped to python-i2c-tools
  • on AlmaLinux 8 and Rocky Linux 8, EPEL repository must be enabled for python3-lgpiod and devel for python3-i2c-tools although not recommended
  • get_i2c() and do_i2c() functions must be retrieved from raspi-config as this package is missing (module load logic must be changed)
  • python3-luma.oled package is missing, must find a way to install module for all users

Thanks! :blush: :folded_hands: