Official documentation here: https://www.jenkins.io/doc/book/installing/linux/
# sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
# sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io-2023.key
# sudo dnf install java-17-openjdk
# sudo dnf install java-latest-openjdk
# sudo dnf install jenkins