you need to install lsb-core package which provides lsb_release
[root@rocky ~]# dnf install redhat-lsb-core.x86_64
[root@rocky ~]# which lsb_release
good luck
you need to install lsb-core package which provides lsb_release
[root@rocky ~]# dnf install redhat-lsb-core.x86_64
[root@rocky ~]# which lsb_release
good luck