LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-23-2013, 05:11 AM   #1
stephlo
LQ Newbie
 
Registered: Jul 2013
Posts: 4

Rep: Reputation: Disabled
Basic question about installing a downloaded rpm


Hello all,

I have downloaded several rpm files.
The rpm manual seems a little advanced to address these very basic questions:

1) Should the rpm files be stored in a specific location or would it be ok for me to eg, have them in a folder in my home directory:
~/home/rpm

2) Should the following command be run from a specific location?
rpm -Uvh name-of-file.rpm

If the files are located in the mentioned folder in home, do I need to be in the directory or perhaps somehow specify the path to the directory?

3) Presumably, I would need to perform this as root, like I would for a yum install?

Thankyou so much for your help.

Steph

(PS, I normally very happily just use yum, but just this once, needs must...)

Last edited by stephlo; 07-23-2013 at 05:16 AM. Reason: to be more clear
 
Old 07-23-2013, 05:32 AM   #2
paddy2de
LQ Newbie
 
Registered: Sep 2011
Posts: 9

Rep: Reputation: Disabled
Hi,

1) Should the rpm files be stored in a specific location or would it be ok for me to eg, have them in a folder in my home directory:
~/home/rpm

They don't need to be stored in any specific location.

2) Should the following command be run from a specific location?
rpm -Uvh name-of-file.rpm

If the files are located in the mentioned folder in home, do I need to be in the directory or perhaps somehow specify the path to the directory?

Yes, you will need to be in the same dir to run the command like that.

3) Presumably, I would need to perform this as root, like I would for a yum install?

yes, you will need to have a root shell.

In fact, you can install rpm files using yum, this will do a dependency check for you and install any dependencies that might arise. Simply try running 'yum install name-of-file.rpm'

Hope this helps
 
Old 07-23-2013, 05:58 AM   #3
stephlo
LQ Newbie
 
Registered: Jul 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you so much!
 
  


Reply


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
Basic question regarding rpm naming convention. pinga123 Linux - Newbie 2 03-17-2011 01:52 AM
Installing Limewire with Fedora 7 + addl. basic question Darren_sd Linux - Newbie 2 09-07-2007 04:49 AM
basic redhat software installing question brewhaha Linux - Software 1 07-03-2002 01:06 PM
Installing downloaded files question Potato Joe Linux - Newbie 2 03-07-2002 09:48 PM
Very basic question: how do I run a newly downloaded app? lhoff Linux - Newbie 5 07-06-2001 08:06 PM


All times are GMT -5. The time now is 07:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration