I want to install all available perl modules at once in Ubuntu. Is such a thing possible?
As others have said, you probably don't want to.
perlbrew
and cpanm
are lovely and don't require `sudo... however, if you're determined, a very straightforward way would be to look at the output of
sudo apt-get search perl | sed -e 's/ - .*//'
... and if it's to your liking, run
sudo apt-get search perl | sed -e 's/ - .*//' | xargs sudo apt-get install
Personally, I'd probably stick a | egrep '-perl' |
in there, too before the xargs
, as you might get hits based on the description that don't represent actual perl modules.