Solved

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

Posted on 2014-02-24
14
2,924 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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

688 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