LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 09-09-2002, 03:15 PM   #16
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232

Every programming course is good.
 
Old 09-10-2002, 11:30 AM   #17
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
Just something that you can use:

http://www.autorpm.org/

It's a perl based rpm installer that automatically handles dep issues. Gnorpm and kpackage still have problems with this.
 
Old 09-10-2002, 01:26 PM   #18
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
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
 
Old 09-11-2002, 02:11 AM   #19
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
Quote:
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.
 
Old 09-11-2002, 02:25 AM   #20
adcripps
Member
 
Registered: Mar 2002
Location: South UK
Distribution: Mandrake 8.2
Posts: 103

Rep: Reputation: 15
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?
 
Old 09-11-2002, 02:56 PM   #21
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Quote:
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.
 
Old 09-11-2002, 03:01 PM   #22
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
Quote:
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.
 
Old 09-11-2002, 03:03 PM   #23
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by llama_meme
You could do the same thing very easily with a Linux program by linking it statically.
When you link it statically, your programs become bigger. It's not a good idea. Especially in Linux.
 
Old 09-11-2002, 03:20 PM   #24
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Ok I've just edited that last post very heavily (before I saw the two replies).

Good point about the size of statically linked programs.

Alex
 
Old 09-11-2002, 03:31 PM   #25
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
Quote:
Originally posted by llama_meme
Ok I've just edited that last post very heavily (before I saw the two replies).

Good point about the size of statically linked programs.

Alex
Good change. Now I agree with you
 
Old 09-12-2002, 05:10 AM   #26
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I agree, too.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does etc stand for? aru_04 Linux - General 22 06-24-2012 09:00 AM
what does the T in T1 stand for? jmral23 Linux - Networking 7 11-23-2009 07:22 AM
Stand By? driftingremains Linux - General 3 01-11-2004 11:46 AM
what does rc.d stand for? german Linux - General 4 11-13-2003 07:55 AM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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