Latest LQ Deal: Linux Power User Bundle
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 05-14-2003, 09:08 AM   #1
Registered: Apr 2003
Location: UK
Posts: 52

Rep: Reputation: 15
what's an RPM and where does it go

i need an rpm for something, i have the rpm down loaded, now what do i do with it, where should it go etc? any help would be great (in simple 'big time' newbie terms


Old 05-14-2003, 09:25 AM   #2
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
on the command line:
cd to the folder where the rpm is.
type rpm -i filename.rpm (-i for install)

or go gui with e.g. the KDE package manager (search the menu for a package manager)

for more info: type man grub and/or search this forum and google for info on rpm.

Old 05-14-2003, 01:30 PM   #3
Registered: Feb 2003
Location: S_AB
Distribution: FC4; FC3; RH 9.0; XP
Posts: 86

Rep: Reputation: 15
To follow up on the topic raised in this thread, I ask a NOOB question to learn something about RPM's:

As I understand it, RPM's constitute a "package"; so a given RPM has a group of files, correct?

Is an RPM programmed such that the files "know" where to go? Will the RPM create new directories as needed; replace older or conflicting files; put the necessary files in the right directories?

In sum, is an RPM "automatic", or does it require manual intervention from the user?

Thanks for any replies.

Old 05-14-2003, 01:38 PM   #4
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Just to add this:
To install a rpm you need to be logged in as root; the best way is to open a console, and type 'su'...

Another thing, use:
-'rpm -ivh pckg' to installfor the first time,
-and 'rpm -Uvh pckg' to update

RPMs is automatic...
Old 05-14-2003, 01:48 PM   #5
LQ Newbie
Registered: May 2003
Location: London, UK
Distribution: RedHat & Debian
Posts: 11

Rep: Reputation: 0
RPM stand for Redhat Package Manager. It's Redhat's default way of installing software.

Is an RPM programmed such that the files "know" where to go? Will the RPM create new directories as needed; replace older or conflicting files; put the necessary files in the right directories?
Yes, to install a package use:
rpm -i packagename

To upgrade a package use: (also installs the package if it is not previously installed)
rpm -U packagename

To query if a rpm package is installed use:
rpm -q packagename

To delete a rpm use: (you first need the full name, use query for this)
rpm -e packagename

there the options your most likely to use, read the man pages for the others.
Yes it does put the files in the correct directories.


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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 12:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM > Forums > Linux Forums > Linux - Newbie

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