LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FVWM Install FC4 Test 1 (https://www.linuxquestions.org/questions/fedora-35/fvwm-install-fc4-test-1-a-306169/)

khsater 03-26-2005 12:01 AM

FVWM Install FC4 Test 1
 
I attemted to install FCWM via RPM by using the following:

Code:

[root@localhost Desktop]# rpm -ivh fvwm-2.4.19-1.i386.rpm
error: Failed dependencies:
        libreadline.so.4 is needed by fvwm-2.4.19-1.i386
        libstroke.so.0 is needed by fvwm-2.4.19-1.i386

and that's what happened. I'm not quite sure what those are so help would be appreciated!

Pudge 03-26-2005 01:00 PM

First of all, if you don't know what dependencies are, you are obviously a Linux newbie. There is absolutely nothing wrong with that. No one is born with an innate knowledge of Linux, so everyone is a newb at one time. However, I would not recommend ANY test release of Fedora Core for a newbie. The test releases are intended for experienced testers, which also leaves me out. IMHO at this point you would be far better served with Fedora Core 3.

Anyway, back to your question. When you try to install a package, and you get Failed dependencies, it means that the package you are trying to install uses code from other packages. In this case, fvwm needs sections of code from libreadline and libstroke. Instead of reinventing the wheel all the time, programmers often reuse chunks of code that performs a frequently used function. These chunks of code that do common tasks are often collected in a library. Just as books are collected in a library. So, if you need information on a particular subject, instead of starting from scratch researching said subject, you can go to the library and see if someone else has already done the research and written a book on it. If so, it saves you a lot of time and work. Same when writing programs. If you need to send info to the screen, or get info from the keyboard, instead of writing this code yourself, use code that someone else wrote and has been put in a library.

Almost every package that starts with the three letters "lib" is a library. fvwm uses functions contained in libraries libreadline and libstroke. What you ran into is referred to as "Dependency Hell". The more complex the application, the more chance you have of "Dependency Hell".

One way to avoid dependency problems is to use yum to install packages. Yum checks for dependencies and automatically downloads and installs all dependencies for the package you are trying to install. http://www.fedorafaq.org/ describes how to set up yum in Fedora Core 3.

Pudge

khsater 03-26-2005 03:46 PM

Sorry I didn't specify. I understand what dependencies are I'm just asking whether this is a known problem. I've been having problems with yum and can't update correctly. This may be because of some things in the development section of the FC4 install I didn't check. As far as "I don't know what these are." I meant I wasn't sure exactly what libreadline.so.4 etc.. were as far as whether or not this may have been included when I installed. As to the fact of why I'm using FC4: I wanted to try out Gnome 2 and knew I could get help from people if I ran into a problem.

Pudge 03-26-2005 05:29 PM

Ooops, sorry I misunderstood your question.

Pudge


All times are GMT -5. The time now is 09:03 AM.