How to install all perl modules at once in Ubuntu -


i want install available perl modules @ once in ubuntu. such thing possible?

as others have said, don't want to.

  • many modules updated more on cpan ubuntu repos
  • some modules aren't in repos @ all.
  • many modules have dependencies don't need.
  • if ever need more 1 environment, it's problem (although fair, rarer occurrence perl other ecosystems).
  • perlbrew , cpanm lovely , don't require `sudo
  • it's not replacement proper dependency management if ever have distro upgrade, not packages may provided next time.

... however, if you're determined, straightforward way @ output of

sudo apt-get search perl | sed -e 's/ - .*//' 

... , if it's liking, run

sudo apt-get search perl | sed -e 's/ - .*//' | xargs sudo apt-get install 

personally, i'd stick | egrep '-perl' | in there, before xargs, might hits based on description don't represent actual perl modules.


Comments