On 7 Sep 2002, Gerald Timothy Quimpo wrote: > hello all, > > what's the right way (fewest keystrokes, fire and forget) > way to recursively download and install from CPAN all > packages that a given package depends on? > > e.g., i've got package xxx that is in CPAN. > is there a single command (or a small set of > commands i can send to CPAN to recursively get all > reachable (within CPAN) dependencies of xxx? even > better would be something smart enough to find all > dependencies from anywhere, but that's probably > not possible for now so i don't mind if i figure > out from the INSTALL doc or the include statements > what are needed, and then find them all on CPAN and > get them. i'd rather not have to deal with getting > subdependencies though. that can degenerate into > something similar to RPM hell (although less painful).
the pain from the "RPM hell" is there for a reason, and for me is the way to go, if you are concerned about: - keeping the setup of your box maintainable - being able to replicate the dependency tree of modules into other boxes (almost a requirement if you are to deploy from development platforms to deployment). Perl modules SHOULD NOT be installed the traditional CPAN way no matter what others may say. This is because it introduces foreign files not part of the distributions package manager database. If you need to update it, or check for possible intrusion, you will be at a loss. My suggestion is to look up what perl modules are available already packaged by your distro (thats a lot if Mandrake is your distro) and then use urpmi to auto download and install them. At the very worst case, make the SOURCE RPMs yourself, basing it on a another source package. It's a simple find and replace. _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
