Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3304
  • Last Modified:

yum-utils-manager not working in rhel 5 even though yum utils is installed

I'm working in redhat enterprise server 5.  I have yum-utils (yum-utils-1.1.16-21.el5.noarch ) installed.  However, when I try and use the yum-config-manager command I get:

bash: yum-config-manager: command not found

help!

Thanks!
0
HyperBPP
Asked:
HyperBPP
  • 6
  • 4
  • 4
1 Solution
 
Nick UpsonPrincipal Operations EngineerCommented:
are you doing this as root, what is your PATH
0
 
SandyCommented:
#whereis yum-config-manager


then open it with absolute path


TY/SA
0
 
HyperBPPAuthor Commented:
I did #whereis yum-config-manager

I just get

yum-config-manager:

I am running as root.  

PATH=/usr/kerberos/sbin:/usr/java/jdk1.7.0_51/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/Office/bin
0
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

 
HyperBPPAuthor Commented:
I don't think yum-config-manager is there... How do I get it?  I have yum-utils installed.  The latest via yum install yum-utils.
0
 
Nick UpsonPrincipal Operations EngineerCommented:
use this (will take a while)

find / -name yum-config-manager

so far we have established that the executable is not in your path, which is wby you are not finding it
0
 
HyperBPPAuthor Commented:
Find did not locate it.  It does not appar to exist on the machine :(... How do I get it?  I thought it came with yum-utils.
0
 
HyperBPPAuthor Commented:
Ok, I'm in the CLI article and trying to add an Open JDK repostiroy.  However, I can't find what the settings hsould be.  Also when I add it to the repo (what I think the setting might work) it gets erased from the file even though I save and quit as the superuser.
0
 
HyperBPPAuthor Commented:
Also, it looks like the linked article is for RHEL6 and I'm on RHEL5.  I've confirmed that the yum-utils I'm working on does not have a yum-config-manager.  I have no way to get the more recent yum-utils to my knowledge or that any was release for RHEL5.  So I need to edit the file but can't seem to find out how to do this properly.
0
 
SandyCommented:
if you have RHN login details then try checking out over there for the latest version of it.

TY/SA
0
 
Nick UpsonPrincipal Operations EngineerCommented:
what is it that you want to achieve?
0
 
HyperBPPAuthor Commented:
I'm trying to add the repository to open JDK so I can install JDK using yum.  I tried using the regular grpahical installer and it results in an installation that doens't work right.  I'm attempting to fix that via another thread.  However, I thought a better way might be to use yum to install and configure everything as an alternative.  Addtionally, i'm going to eventually need packages from other repostories aside from the default RHEL 5 repos.
0
 
Nick UpsonPrincipal Operations EngineerCommented:
create / edit a file in /etc/yum.repos.d to contain the repository you want to use, then do

yum install jdk
0
 
SandyCommented:
Not sure .. How GUI works.. but the reference link i have given is the one i tried and it is working perfectly fine and even it is fine to edit /etc/yum.repos.d/ manually.

TY/SA
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 6
  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now