LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-16-2004, 11:02 AM   #1
junksierra
LQ Newbie
 
Registered: Sep 2004
Location: England
Distribution: Mandrake 10.1
Posts: 4

Rep: Reputation: 0
RPM Packages


Hi im a newb to linux and fedora core 2 is my first linux distribution

i cant open any rpm files - does fedora not come with this software (and if so, where is it on the dvd?)

thanx in advance
 
Old 09-16-2004, 11:06 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
How are you trying to open the RPM files?

Normally, you install a software package from an RPM file like this:
Code:
rpm --install somefile.rpm
and uninstall them with
Code:
rpm --erase package.rpm
For more information, type
Code:
man rpm
in a terminal.

There are also graphical front-ends you can use to RPM; I don't know what's bundled with Fedora. But it is an RPM-based system so you're pretty much guarenteed to have the rpm command available.
 
Old 09-16-2004, 01:55 PM   #3
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
..or simply:
rpm -i package.rpm to install
rpm -e package.rpm to uninstall
rpm -U package.rpm to upgrade
rpm -F package.rpm to freshen

Maybe you want to use this too:
rpm -ihv package.rpm to have an output of what's going on
...

Boby
 
Old 09-16-2004, 02:49 PM   #4
kpachopoulos
Member
 
Registered: Feb 2004
Location: Athens, Greece
Distribution: Gentoo,FreeBSD, Debian
Posts: 705

Rep: Reputation: 30
Well, i have a problem too with rpm packages all the time( not only a Fedora problem, but of other distros too). Is rpm management problematic after all?
See and tell me your opinion about this supernatural phenomenon.
--------------------------------------------------------------------------------------------------------------------
[root@localhost kostas]# rpm -i Acme*
warning: Acme-1.0-2.noarch.rpm: V3 RSA/MD5 signature: NOKEY, key ID dd2c67f1
package Acme-1.0-2 is already installed
[root@localhost kostas]# rpm -e Acme*
error: package Acme-1.0-2.noarch.rpm is not installed
[root@localhost kostas]# rpm -V Acme*
package Acme-1.0-2.noarch.rpm is not installed
[root@localhost kostas]# rpm -Uvf Acme*
warning: Acme-1.0-2.noarch.rpm: V3 RSA/MD5 signature: NOKEY, key ID dd2c67f1
Preparing packages for installation...
package Acme-1.0-2 is already installed
 
Old 09-16-2004, 06:06 PM   #5
fedorafreak
Member
 
Registered: Aug 2004
Location: North Carolina
Distribution: Fedora Core 2
Posts: 64

Rep: Reputation: 15
dudes hes a noob give him the grafical package manager i think its system-install-packages or some thing like that
 
Old 09-16-2004, 06:49 PM   #6
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
Ok!

For graphical mode...doubble click on an RPM file and when it askes "Open with:" type system-install-packages and you can also select "Remember application association..".

Boby
 
Old 09-17-2004, 01:01 PM   #7
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Quote:
Originally posted by nocturna_gr
[root@localhost kostas]# rpm -i Acme*
warning: Acme-1.0-2.noarch.rpm: V3 RSA/MD5 signature: NOKEY, key ID dd2c67f1
package Acme-1.0-2 is already installed
[root@localhost kostas]# rpm -e Acme*
error: package Acme-1.0-2.noarch.rpm is not installed
[root@localhost kostas]# rpm -V Acme*
package Acme-1.0-2.noarch.rpm is not installed
[root@localhost kostas]# rpm -Uvf Acme*
warning: Acme-1.0-2.noarch.rpm: V3 RSA/MD5 signature: NOKEY, key ID dd2c67f1
Preparing packages for installation...
package Acme-1.0-2 is already installed
The package you have installed is named Acme-1.0-2
The file Acme-1.0-2.noarch.rpm holds this package.
You are asking it to tell you about the package Acme-1.0-2.noarch.rpm, which would probably be held in a file like Acme-1.0-2_noarch_rpm.noarch.rpm

The -q -e -V etc. options want the package name, not the filename.
 
  


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
RPM packages svinka SUSE / openSUSE 4 10-22-2004 03:49 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 03:07 PM
creating packages (.tgz/.deb/.rpm) How from the source packages? l_9_l Linux - General 1 03-06-2002 06:03 PM
rpm packages islandkid Linux - General 2 03-03-2002 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:14 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