LinuxQuestions.org
Help answer threads with 0 replies.
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-23-2004, 01:39 AM   #1
schizo
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 10.0, Fedora Core 2
Posts: 9

Rep: Reputation: 0
Help with packages and rpm files


I just installed Fedora Core 2 on my laptop and so far it works great. It was the smoothest installastion I've had (of anything) in a long time. Anyways, I do have some questions. I am aware of the package concept, and the up2date utility which updates packages. However, I am confused as to how to install my own programs. Back in Slackware I compiled everything from source and I could do that here too, but, how do I work with RPM files? What exactly are they? Do they include dependencies or something? Say I have an .rpm file sittin in my home directory, how do I install the program?
 
Old 09-23-2004, 01:58 AM   #2
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Yum comes standard with FC2, do the usual, 'man yum'. You could install apt-get and synaptic (apt-get front end) to get a better way of updating/installing your application off the net too. I regularly use synaptic to update my distribution. Yum & apt-get will help you resolve any dependencies required during rpm installation.

If you've an .rpm file, the easiest is to do

rpm -ivh package_name.rpm

As usual, do a man rpm to get more info on how to use rpm.
 
Old 09-23-2004, 02:20 AM   #3
schizo
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware 10.0, Fedora Core 2
Posts: 9

Original Poster
Rep: Reputation: 0
right, so I did
rpm -ivh <filename>.rpm
I did it with a user first, and got an error about not being able to access /usr/src/redhat/SOURCES/. I switched to root. This time I got some warnings about a group not existing, but nothing happened. I then went into that folder mentioned above and found a <name>.tar.gz. The file with the sources I could download and compile myself. So... what's the deal? Isn't -i suppose to install this?
 
Old 09-23-2004, 10:46 AM   #4
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Curious, what package you're trying to install? In RedHat world, there are two kind of packages, one for binaries (RPMS) and the other one for sources (SRPMS).
 
  


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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 05:24 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
Difference between src.rpm files and source.rpm files ja_nch Red Hat 2 09-06-2003 06:12 PM
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

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

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