beh Posted February 4, 2004 Share Posted February 4, 2004 why do they have dependencies after dependencies just for a simple program? searching for all these dependencies is taking hours. Link to comment Share on other sites More sharing options...
Rockett15 Posted February 4, 2004 Share Posted February 4, 2004 :) this was something that used to get me when I first started using Linux. You have to realise however that there is a wide variety of distributions available and a distribution may not have the files the program needs to run my default. This is rather like *.dll dependancies in windows. You never see this of course as there is only 1 line of Windows Operating Systems. However, if you are using a distribution supported by Ximian Red Carpet (http://www.ximian.com/) I would suggest getting it, it solves 90% of dependancies you throw at it! Otherwise you may use APT/YUM with Synaptic also a good program for installing rpm's with minimal trouble. :D Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted February 4, 2004 Veteran Share Posted February 4, 2004 why do they have dependencies after dependencies just for a simple program? searching for all these dependencies is taking hours. It depends on the system you use, and how you are configured. If you are trying to install a general program off the internet that uses libraries that are not installed on your computer, then you will need to find them. The RPM system is known for being this way. RPMs are pre-packaged, and are sometimes unique depending on hwo the distro maker set up thier system. In these cases, it is best recommended to install the RPM for the distro you are using. (These will often be on your CD set, anyhow). Other systems exist, such as apt or yum. Apt is supposed to be easier, as you can apt-get your package, and (I believe) it will determine dependencies and offer to get these for you as well. The last system I am aware of is the famous Gentoo emerge. It is similar to apt, in that it will get dependencies for you. But it also is source-based, and compiles it (thereby being most efficient). It also allowes you to do an emerge world and update everything! :D Link to comment Share on other sites More sharing options...
Drimo Posted February 4, 2004 Share Posted February 4, 2004 I experienced this when I first tried linux (way back at red hat 5.2). It made me confused, and oftentimes I just gave up. Especially that one time I tried to recompile the kernel.... But lately, I've put a lot more effort into it. I've gone through the dependecies when I want to install something. It gets easier the more you do it. Stick with it, you'll learn more about linux and how software works together. Link to comment Share on other sites More sharing options...
chavo Posted February 4, 2004 Share Posted February 4, 2004 Yep, if your distro has a good package management system it should be tottaly painless. urpmi works wonders on Mandrake, that is the one I have used the most. Of course I've heard great things about Debian, Gentoo and Redhat package management as well. Link to comment Share on other sites More sharing options...
Drimo Posted February 4, 2004 Share Posted February 4, 2004 does anyone know what port urpmi uses? my mandrake box is on my firewall's dmz, which blocks a lot of the access to the outside world. i'm asking because everytime i try to update my packages, the list is always returned as void. i'm thinking my firewall is blocking the requests or the response and i'd like to open the ports to allow this. Link to comment Share on other sites More sharing options...
Tran Posted February 4, 2004 Share Posted February 4, 2004 Same prob I had when I first started out with (RedHat) Linux. Too many rpm dependencies that I just gave up on Linux completely. My faith was restored when I began to use Gentoo though. Its Portage system owns. Link to comment Share on other sites More sharing options...
Fred Derf Veteran Posted February 4, 2004 Veteran Share Posted February 4, 2004 why do they have dependencies after dependencies just for a simple program? searching for all these dependencies is taking hours. Install Debian and dependencies are a thing of the past. Synaptic Package Manager is one of the best GUIs for Debians APT-GET system. Link to comment Share on other sites More sharing options...
kjordan2001 Posted February 4, 2004 Share Posted February 4, 2004 Most distros have something you can install or something already built-in to make it painless as the program will download and install all dependencies. Slackware has one too, can't remember the name, but people have already mentioned ones for other distros. Link to comment Share on other sites More sharing options...
beh Posted February 4, 2004 Author Share Posted February 4, 2004 when i run urpmi <packagename> in the command line it tells me what dependencies its going to need to install but then it tries looking on the cd for the dependencies. Is this what this program was supposed to do? becuase when you double click on the rpm's in mandrake it alreaedy did the same thing and that doesnt work. I have the install disc one that i used to install mandrake but it never seems to find the files on that disc Link to comment Share on other sites More sharing options...
JadeWolf324 Posted February 4, 2004 Share Posted February 4, 2004 when i run urpmi <packagename> in the command line it tells me what dependencies its going to need to install but then it tries looking on the cd for the dependencies. Is this what this program was supposed to do? becuase when you double click on the rpm's in mandrake it alreaedy did the same thing and that doesnt work. I have the install disc one that i used to install mandrake but it never seems to find the files on that disc did u setup ur urpmi with external sources? Link to comment Share on other sites More sharing options...
beh Posted February 4, 2004 Author Share Posted February 4, 2004 yes now i did thanks for the help everyone i added an external source and removed the cd source Link to comment Share on other sites More sharing options...
JadeWolf324 Posted February 4, 2004 Share Posted February 4, 2004 yes now i did thanks for the help everyone i added an external source and removed the cd source dont remove the CD source! thats very useful!! u should have just disabled it :/ Link to comment Share on other sites More sharing options...
EnderDX Posted February 4, 2004 Share Posted February 4, 2004 SuSE has YaST, which handles RPM's very very nicely. If you don't have a dependancy and it exists on the SuSE cds it will retrieve them. You just have to pop in the cd. Don't worry about outdated versions either because SuSE has online update that works for free without subscriptions like Redhat's (They have a lot of mirror sites for updating too). Link to comment Share on other sites More sharing options...
beh Posted February 4, 2004 Author Share Posted February 4, 2004 dont remove the CD source! thats very useful!! u should have just disabled it :/ the cd source never worked but yeah i guess i shoulda disabled it Link to comment Share on other sites More sharing options...
splatnix Posted February 4, 2004 Share Posted February 4, 2004 (edited) The last system I am aware of is the famous Gentoo emerge. It is similar to apt, in that it will get dependencies for you. But it also is source-based, and compiles it (thereby being most efficient). I won't start the compiling vs rpm efficiency war, as I have found better efficiency on both sides, BUT would you like to do a Stage 1 install on a PII/400, 192MB RAM Laptop? I tried once - to get to a base status at the end of Stage 3 (no GUI compiled yet), it took 2 days. Not everyone is going to want to compile EVERYTHING every. single. time. Install Debian and dependencies are a thing of the past. Package management should be a thing of the past on ALL distros, not just Debian or aforementioned Gentoo. While not all of the distros offically support the repositories (SuSE, Slackware, some RH/FC repositories), the support out there is great and functional from the maintainers. - RedHat/Fedora Core has yum included, and apt through download. - Mandrake has urpmi. - SuSE has YaST's handling of rpms and apt available through download. - Debian has apt. - Slackware has both swaret and slapt-get available through download. - the BSDs have the ports system. - Gentoo has portage system (AKA emerge). - MacOS X has fink. It also allowes you to do an emerge world and update everything! :D For any management system based on apt, a simple apt-get upgrade or apt-get dist-upgrade will do this for you. Edited February 4, 2004 by splatnix Link to comment Share on other sites More sharing options...
rezza Veteran Posted February 4, 2004 Veteran Share Posted February 4, 2004 BUT would you like to do a Stage 1 install on a PII/400, 192MB RAM Laptop? I tried once - to get to a base status at the end of Stage 3 (no GUI compiled yet), it took 2 days. Not everyone is going to want to compile EVERYTHING every. single. time. There's no need to do that - if you have another, more powerful computer, you can use that to do the compiling for the older machine, and then just use the binaries you create. Thats what I do wioth my K6-2 450mhz crapbox - just run a bootstrap on it, and then compile the system on another machine. Also, if you're using a slow machine, you can always keep the binaries you create and just install them directly next time you run an installation. Link to comment Share on other sites More sharing options...
MR_Candyman Posted February 4, 2004 Share Posted February 4, 2004 Splatnix, thanks for the heads up on swaret...didn't know it existed before...that makes my life a little easier Link to comment Share on other sites More sharing options...
splatnix Posted February 4, 2004 Share Posted February 4, 2004 There's no need to do that - if you have another, more powerful computer, you can use that to do the compiling for the older machine, and then just use the binaries you create. Thats what I do wioth my K6-2 450mhz crapbox - just run a bootstrap on it, and then compile the system on another machine.Also, if you're using a slow machine, you can always keep the binaries you create and just install them directly next time you run an installation. [OT] Very true, and at home in the States, I've got 2 powerful machines that ran dcc for this archaic laptop doing most, if not practically all, of the compiling - 2 P4s/1GB PC2700 and this thing can get a full Gentoo install up in an evening. The unfortunate thing is that, with a hard drive crash in the middle of my stay in Hungary, reinstalling Gentoo on this "bad boy" was not an option - my laptop is more powerful than any one else's computer that I know, minus one of my fiancee's friend's laptops (not to say shops aren't selling P4s and Opterans, but most people don't own them, if a computer at all) - but in doing so opened me to the wonders of package management on other OSes. It was cool finding out my old buddy Slackware and old-work-friend RH/FC had apt-like management so I could use them like I used Gentoo without the need to compile everything. And since most i686 packages are as optimized as I would need on this laptop (ie. the basics), it has worked quite well. Splatnix, thanks for the heads up on swaret...didn't know it existed before...that makes my life a little easier No problem! I'm kinda particular to swaret right now, but slapt-get is starting to look very cool. Reguardless of which tool you take to, it's nice having package management in Slackware :D Link to comment Share on other sites More sharing options...
Recommended Posts