On 16/09/2009, at 08:17, Javier Arantegui wrote: > Hi! > > A couple of days ago I managed to broke my Finkcommander > installation :-( > > So, I thought that it was a good opportunity to learn to use fink > using just the command line. I have this little question: > > Is there any difference between 'sudo apt-get install something' and > 'fink -b install something'? > > I understand that in the last case fink will install the program from > source, but I not sure. If that happens, what about the dependencies? > Will fink try to download the binary versions? > > I'm sure that this is answered in the documentation but I haven't > found it. > > Thanks, > > Javier
Hola, Javier. apt-get only knows about binary packages (.deb): those you've built locally on your system, those downloaded from a binary distribution, and those available in a binary distribution but not downloaded yet. So if you apt-get install a package it may fail if that package or one of its dependencies are not available as binary packages with the specific versions that Fink is aware of as a result of your last selfupdate. The fink command also uses binary packages from binary distributions whenever available if you use -b or have 'UseBinaryDist: true' in /sw/ etc/fink.conf. However, it won't fail if there are no .deb files available for a specific version of a package or its dependencies -- it'll build them from source instead. In summary: apt-get fails if it can't find a .deb file for a given package/version, including dependencies. The fink -b command will download .deb files whenever they're available (including dependencies); when they're not, it builds them from source. Cheers, -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.beginners