Languages

Linux screen - problems with installation CentOS 7 - No package screen available. Error: Nothing to do

7 points
Asked by:
Kate_C
19800

I have a problem.

When I try to install screen on my CentOS I get error.

Command to install screen for CentOS:

[root ~]# yum -y install screen

Error I get:

No package screen available.
Error: Nothing to do

Console output with a problem:

[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

How to solve this problem?

1 answer
3 points
Answered by:
Kate_C
19800

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

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

3. Run:

yum repolist

4. Install screen:

yum -y install screen

Screen will be installed from our new repo.

0 comments Add comment
Native Advertising
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join