Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-12-2012, 09:22 PM   #1
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
Fresh install of RHEL does not have yum and apt-get

Hi all,

I just freshly install a command line RHEL.
I realized it hasnt install apt-get (but i think apt-get is only for debian).
And so i tried yum install but that also give me the same error says command cannot be found.

I tried tried to find the yum rpm within the rhel cd but they are not in disc 1-3 too.

From google, i learnt that to install package i need to use yum. but in my case yum is not installed, (command not found) and yum rpm does not exist in rhel cds, so what are the options for me to get package installed on this rhel?

I don't have gui so i couldnt go onto a rpm site to download and install.

Is that another command that can get yum rpm from internet and install it?

Thanks for looking into my query. I realized this is a basic question, most of the time yum and apt-get are available by default.
Old 08-12-2012, 09:51 PM   #2
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424

Rep: Reputation: 83
You need to run Yum as root.
Old 08-12-2012, 11:07 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,615

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the very old and antique RHEL4 did not have yum installed ( it was not invented yet -rhel4 is that OLD)
it used "up2date"

will AUTO install the package manager
IT IS A REQUIREMENT so it WILL get installed on the current RHEL6.3

also RHEL is not a free operating system
so when you bought the license you also get the support that comes with that license

if it was not installed from the Current RHEL6.3 dvd then reinstall


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 5.4 fresh install, can't rhn_register jnojr Red Hat 5 01-14-2010 01:24 PM
Yum update on fresh install error Beezer Fedora 2 04-16-2009 08:58 AM
Which one best or recommended for RHEL 4? apt-get or yum? gurl4sh25 Linux - Software 4 06-19-2007 09:58 AM
Apt / Yum for RHEL saber41 Linux - Enterprise 5 01-11-2007 02:10 PM
RHEL 4 upgrade or fresh install? t-dogg Linux - Enterprise 2 09-28-2006 10:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration