LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-12-2012, 08:22 PM   #1
saleskira
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, 08:51 PM   #2
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424

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

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"

RHEL5 and RHEL6
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
http://www.redhat.com/about/subscription/
http://www.redhat.com/support/customer-portal.html


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


Reply



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 12:24 PM
Yum update on fresh install error Beezer Fedora 2 04-16-2009 07:58 AM
Which one best or recommended for RHEL 4? apt-get or yum? gurl4sh25 Linux - Software 4 06-19-2007 08:58 AM
Apt / Yum for RHEL saber41 Linux - Enterprise 5 01-11-2007 01:10 PM
RHEL 4 upgrade or fresh install? t-dogg Linux - Enterprise 2 09-28-2006 09:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:13 AM.

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