Quick script to compile GNU Screen from source on AlmaLinux (if you don’t want to migrate to TMux):# Run this as root.
dnf install gcc make ncurses-devel
wget https://ftp.gnu.org/gnu/screen/screen-4.9.1.tar.gz
cd screen-4.9.1
tar -xvf ./screen-4.9.1.tar.gz
sh ./configure
make
cp ./screen /usr/bin/
Then manually remove the archive file and folder.