I am using almalinux 9, uname -a gives the following output:

5.14.0-162.6.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 15 07:49:10 EST 2022 x86_64 x86_64 x86_64 GNU/Linux

I am trying to install a program with its own installer (which is a black box), and it gives an error message that this OS is not supported. I am aware that the cleanest solution is ask support from the manufacturer... meanwhile...

I am convinced that RHEL 8 or CentOS 8 is supported.


Is there any way to fake my OS to el8?

  • 1
    You have to see which command it is using, if it gets it from /etc/os-release (or /usr/lib/os-release), this is trivial, if it gets it from elsewhere this can be really a pain Jan 29 at 14:50
  • 2
    yeah, we have no idea how it decides that your operating system is "inappropriate". Chances are that if it cares, then it does care for a reason. What software are we talking about? Jan 29 at 14:55
  • @MarcusMüller Galera Monitor Jan 29 at 15:11
  • 2
    Use strace -f ... to see if it calls uname(2) or reads a file etc, then try interposing a shim to capture that system call, using LD_PRELOAD.
    – meuh
    Jan 29 at 16:52
  • 1
    Looking at the (shell) installer it supports RHEL or RockyLinux. You picked the wrong fork: RHEL/Rocky 8 & 9 (rhel) Ubuntu 18.04 LTS (bionic), 20.04 LTS (focal), & 22.04 LTS (jammy) Debian 10 (buster), & Debian 11 (bullseye) SLES 15 (sles) (+ limited RHEL/CentOS 7 and SLES 12). Then that same installer has an option --os-version= to override detection... You should really check the installer. Kernel isn't checked to figure out the os in this script.
    – A.B
    Jan 29 at 19:07


You must log in to answer this question.

Browse other questions tagged .