Reputation: 291
I got a RHEL 7.1 instance on amazon aws, now i am trying to install softwares using yum, but even very common softwares aren't available.
For example,
$ sudo yum install lynx
Loaded plugins: amazon-id, rhui-lb
No package lynx available.
Error: Nothing to do
I am new to linux and yum
. What's to be done so I can install softwares easily using yum
.
Should I be adding repos?
Here, I tried doing what's said here -> Top 5 Yum Repositories for CentOS/RHEL 7/6/5 and Fedora, and here -> Install RepoForge (RPMForge) Repository On RHEL, CentOS, Scientific Linux 7/6.x/5.x/4.x but to no use.
Appreciate any help.
Upvotes: 2
Views: 5993
Reputation: 4109
Lynx is in optional repo. Check enabled repos with:
yum repolist all
Enable optional (using Oracle Linux as example):
sudo yum install yum-utils
sudo yum-config-manager --enable ol7_optional_latest
Lynx should be installed now without problems:
sudo yum install lynx
Upvotes: 1
Reputation: 11
You first need to search whether the repo is present by using " yum search lynx"
Loaded plugins: amazon-id, rhui-lb ================================ Matched: lynx ================================================================= pinfo.x86_64 : An info file viewer
For example
"yum search httpd" shows
then check the output it gives you. By taking the output data we need to install any softwares using yum.
Now use
List item
yum install "package name"
Upvotes: 1