Solved

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

Posted on 2014-02-24
14
2,625 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
Comment Utility
are you doing this as root, what is your PATH
0
 
LVL 13

Expert Comment

by:Sandy
Comment Utility
#whereis yum-config-manager


then open it with absolute path


TY/SA
0
 
LVL 6

Author Comment

by:HyperBPP
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 6

Author Comment

by:HyperBPP
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
what is it that you want to achieve?
0
 
LVL 6

Author Comment

by:HyperBPP
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
oracle query help 36 65
linux date/time setting via python 6 36
linux crontab output 3 36
linux ssh 4 26
One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…

762 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

13 Experts available now in Live!

Get 1:1 Help Now