Need to Install nano to create the webmin.repo file.
sudo yum install nano
nano /etc/yum.repos.d/webmin.repo
If you like to install and update Webmin via YUM, create the /etc/yum.repos.d/webmin.repo file containing :
[Webmin]
name=Webmin Distribution Neutral
#baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1
gpgkey=https://download.webmin.com/jcameron-key.asc
gpgcheck=1
You should also fetch and install my GPG key with which the packages are signed, with the commands :
wget https://download.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc
You will now be able to install with the commands :
yum install perl
yum install webmin