Xiong has asked for the wisdom of the Perl Monks concerning the following question:
(Note: I'm running Ubuntu 9.10 on i386.)
I've installed a great many modules from CPAN using sudo cpan. I've installed a great many .deb packages using appropriate methods, some of which seem to contain Perl modules, too. I've also run into a spot of trouble (although I can't swear cpan has a thing to do with it) with conflicts between modules installed from these different sources. (Synaptic itself seems to rely on XML::SAX, for example.)
Various forum posts of dubious reliability and a buddy of mine suggest I never install any modules with cpan unless there is no alternative; rather, prefer to install only using Synaptic, apt-get, and friends.
What say the Monks?
Update: Great comments, thank you. I will leave the system perl and its libraries alone; if I install an application that requires modules, I'll let Synaptic take care of the dependencies. I'll compile a distinct development perl somewhere else and use cpan to install whatever I like there. I'll use the opportunity to consider different compilation flags, too.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Installing Modules
by Corion (Patriarch) on Feb 14, 2010 at 16:51 UTC | |
Re: Installing Modules
by Anonymous Monk on Feb 14, 2010 at 16:53 UTC | |
Re: Installing Modules
by skx (Parson) on Feb 14, 2010 at 19:36 UTC | |
Re: Installing Modules
by zwon (Abbot) on Feb 14, 2010 at 23:35 UTC | |
by afoken (Chancellor) on Feb 15, 2010 at 14:53 UTC | |
Re: Installing Modules
by shmem (Chancellor) on Feb 19, 2010 at 14:59 UTC |