Solved

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

Posted on 2014-02-24
14
2,693 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
  • 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
 
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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now