Complete novice needs help finishing pine installation due to problems with failed dependencies on Red Hat Fedora 4

I purchased a book called "Setting Up Lamp" and I am a complete novice to Linux. I managed to complete the first chapter, which is to get Linux installed and running, but I am  now completely stuck. The book asked me to download the pine editor by following this command:


The file downloaded perfectly. The book then asked me to use the following command to install the pine:

rpm -ivh pine.i386.rpm

But it failed and gave me the following output:

error: Failed dependencies: is needed by pine-4.58-2.i386 is needed by pine-4.58-2.i386 is needed by pine-4.58-2.i386 is needed by pine-4.58-2.i386

I know that there are other editiors but the book uses this one and I want to fix this problem. I've never dealt with dependencies before and I would really appreciate a step by step break down of what I can do to resolve this issue. I should also mention that I am running Red Hat Fedora 4 and I have selected and installed all of the correct packages that the book asks for during the Red Hat installation procces .  Lastly, the book is written for Fedora 2 but the installation for Fedora 4 seems to be exactly the same as whats described in the book, including the package selection. An exact step by step break down of what I should do would be greatly appreciated.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Install these two packages first to solve dependencies:


The easiest way to do so would be:

yum install openldap
yum install openssl097a

Note that you may already have these installed. After you install them, try Pine package from this page:

The packages there are specifically built for FC4.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jerrykobesAuthor Commented:
Thank you for your awnser, but I have a few last questions regarding your solution. How did you know that those were the two packages (is that what they were? packages?) that needed to be installed for those four dependencies? Where would I look in the future if I ran into the same problem with missing other dependencies? Lastly, what the hell are dependencies in "Windows" terms and why do I have to deal with them in the first place?
I ran

rpm -q --whatprovides

on my system. Another easy idea is just google, and you'll typically hit an RPM description that provides it.

There really is no equivalent to RPM dependencies in Windows, and that's what makes RPM-based distros a lot more stable and modular than Windows. The files you were missing are "shared objects" (.so), they are roughly equivalent to Windows DLLs. If you ever heard the term "DLL hell", then the dependencies definitions is how a RPM-based Linux is solving this problem.

Basically, every package has strictly defined set of things it depends on (i.e. requires to be present on a system for it to work) and a set of things it "provides" - they are either files contained in the package or capabilities. This way you are protected from the problems similar to those that happen in Windows due to DLL mismatch - when you overwrite or update system libraries with newer (or older) versions while installing something and it breaks other applications.

yum is one of the tools that let you query dependence information for packages not yet installed, so in your case you could have done

yum whatprovides

for example. All in all, if you want to know more, here is the very detailed description of RedHat Package Manager (RPM):
As to why you had to deal with them - pine was removed from Fedora Core as of FC3 or so. Typically when you install a package you just do

yum install <something>

and yum solves all dependencies for you (i.e., if pine WAS in fc4, "yum install pine" would have taken care of installing all three RPMs). Because yum repositories don't have pine, you had to do some extra manual work in figuring out what needs to be installed to get your pine running.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.