Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Surely InstallShield doesn't do anything rpms don't? I mean it certainly doesn't automatically install dependencies. I suppose it puts a pretty GUI on top of the installation, but many distros have some kind of GUI for managing rpms anyway.
I think the dependecy problem will never go away. It's an inevitable result of there being so many commonly used libraries which are all being updated out of synch.
Originally posted by llama_meme Surely InstallShield doesn't do anything rpms don't? I mean it certainly doesn't automatically install dependencies. I suppose it puts a pretty GUI on top of the installation, but many distros have some kind of GUI for managing rpms anyway.
I think the dependecy problem will never go away. It's an inevitable result of there being so many commonly used libraries which are all being updated out of synch.
Alex
Actually Install shield on windows does install all dependencies. It installs all dll's not already existing on the system that the program needs. If it didn't you'd have the same problem in windows as you do in linux.
Doesn't URPMI also sort out dependencies? I've been looking for a script for Mandrake which will check for security updates and then install them automatically, just like apt-get - won't urpmi carry this out?
A combination of urpmi.update -a and then urpmi --auto-select and --force?
Actually Install shield on windows does install all dependencies. It installs all dll's not already existing on the system that the program needs. If it didn't you'd have the same problem in windows as you do in linux.
Ok, my bad.
I think the problem with automatically handling dependencies is not really an issue of just writing some InstallShield-like program. I think there are two main issues involved. The first is keeping large amounts of current data on inter-package dependencies; RPMs already do this. The second is keeping data on how a package can be obtained; RPMS do not do hold this information, and so it is not possible to automatically install RPM dependencies unless those dependencies are distributed with the dependant RPM.
The *BSD ports system, of course, does know how to obtain packages, and it does automatic dependency installation pretty smoothely.
So appart from the fact that RPMs suck, my conclusion is that for an InstallShield-like program for Linux to work properly, something similar to the *BSD ports database would have to be built first. For this to work properly, every Linux distribution would have to agree to use the same central database holding information on where packages could be obtained. To me this seems unlikely to happen, although the rpmfind database could perhaps be used as a starting point.
I suppose an alternative would be to distribute programs with their dependencies (as with Windows), but since different people have different packages installed, it would be hard to know which dependencies to include and which to leave out. Also, this would massively increase the size of every package, even though some of the dependencies the package came with didn't have to be installed.
[apologies for length of post]
Alex
Last edited by llama_meme; 09-11-2002 at 03:30 PM.
Originally posted by llama_meme Ok, my bad, but that can only work if a program is distributed with its dependencies. You could do the same thing very easily with a Linux program by linking it statically.
Alex
Linking statically is not nessary. If more apps would just distribute it with the dynamically linked libraries and do a check for which one the system needs then you would have an install that would work without having to find all of its dependencies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.