Solved

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

Posted on 2014-02-24
14
2,834 Views
Last Modified: 2014-03-31
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
Comment
Question by:HyperBPP
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 4
14 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 39883989
are you doing this as root, what is your PATH
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39884850
#whereis yum-config-manager


then open it with absolute path


TY/SA
0
 
LVL 6

Author Comment

by:HyperBPP
ID: 39886582
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 6

Author Comment

by:HyperBPP
ID: 39886616
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
 
LVL 19

Expert Comment

by:NickUpson
ID: 39887008
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
 
LVL 6

Author Comment

by:HyperBPP
ID: 39887303
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
 
LVL 13

Accepted Solution

by:
Sandy earned 500 total points
ID: 39887950
0
 
LVL 6

Author Comment

by:HyperBPP
ID: 39888964
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
 
LVL 6

Author Comment

by:HyperBPP
ID: 39889008
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
 
LVL 13

Expert Comment

by:Sandy
ID: 39889390
if you have RHN login details then try checking out over there for the latest version of it.

TY/SA
0
 
LVL 19

Expert Comment

by:NickUpson
ID: 39889549
what is it that you want to achieve?
0
 
LVL 6

Author Comment

by:HyperBPP
ID: 39889596
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
 
LVL 19

Expert Comment

by:NickUpson
ID: 39890388
create / edit a file in /etc/yum.repos.d to contain the repository you want to use, then do

yum install jdk
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39892124
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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question