[root ~]# yum -y install screen
Loaded plugins: fastestmirror, langpacks
####### here are some repo list
Determining fastest mirrors
* epel: mirror.slu.cz
No package screen available.
Error: Nothing to do
You can fix it by adding additional repository.
Steps:
1. Create new repo
cd /etc/yum.repos.d
echo "" > additional.repo
2. Open additional.repo file with vim:
vim additional.repo
3. Paste this into this file:
[centos]
name=CentOS-7
baseurl=http://ftp.heanet.ie/pub/centos/7/os/x86_64/
enabled=1
gpgcheck=1
gpgkey=http://ftp.heanet.ie/pub/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
4. Run
yum repolist
5. Install screen:
yum -y install screen