LinuxQuestions.org
Help answer threads with 0 replies.
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 09-29-2011, 08:16 AM   #1
pravz
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
hi i am pravz.


Hello
After installing the rhel5 in vmware work station, I can't install rpm packages into that machine. Can anyone help me plz? thx bye
 
Old 09-29-2011, 08:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please use useful thread titles in future. your choice of username is not relevant to your query.

please explain your situation A LOT more, what is happening?? "can't install" is not a useful description.
 
Old 09-29-2011, 08:41 AM   #3
pravz
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am sry 4 dat.
Actually i dont know how to install the rpm packages into rhel5 using dvd. Can u plz help me thx bye
 
Old 09-29-2011, 08:49 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi pravz,
Please write in normal English. I don't really understand 4 dat and other things. Do you have a contract with Red Hat? I think you have to pay them to use their support.
jdk
 
Old 09-29-2011, 08:53 AM   #5
pravz
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
I am asking that how to install packages in a linux server from dvd? that means how the linux machine detect the dvd.can u reply with commands plz?
 
Old 09-29-2011, 08:56 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by pravz View Post
I am sry 4 dat.
Actually i dont know how to install the rpm packages into rhel5 using dvd. Can u plz help me thx bye
Again, don't use text-speak. Also, don't post the same question more than once, don't hijack someone elses thread, and don't re-open old threads. You posted this same question in a three-year old thread about something else, too.

Read the man pages on the rpm command. Basic syntax is "rpm -i <package name>.rpm", and you have to run that command as root. However, the best way to do this would be to use the yum command, as in "yum install <package name>", since it will install all the package dependencies automatically. This will only work, though if you're PAYING for RedHat Enterprise...if you're not, then you shouldn't be using it, and should be using CentOS instead.
 
Old 09-29-2011, 09:11 AM   #7
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
If you are using RPM to install a particular package then you will have to mention the full path of the package with the command.

The syntax would be something like this

Code:
#rpm -ivh (path of the package)

If you want to install from the RHEL 5.2 dvd then manually mount the dvd on your linux machine and go the directory where you can fine the rpms.

For the RHEL 5.2 the default location is /RHELx.x.x/Server/Packages/

So, simply use this command

Code:
#rpm -ivh /RHELx.x.x/Server/Packages/(package name)

But I would suggest you to use YUM instead of RPM but you will need to configure YUM manually as using RPM will give problems with dependencies.

BEST OF LUCK
 
1 members found this post helpful.
  


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



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

All times are GMT -5. The time now is 05:09 PM.

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