[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The purpose of perl-base



Hi Nicolas,

On Wed, Aug 19, 2020 at 07:24:01PM +0200, Nicolas Mendoza wrote:
> Hi, this might be a stupid question, but right now I'm stuck with a system
> with only perl-base installed, and I can't install perl nor perl-modules-*
> packages.

That's a bit of a problem. How did that happen?

> I suppose that perl-base is meant as a minimal version of perl,

No, it's meant as the bit of perl that goes into the base system.

dpkg requires perl for some small part of its work, and so there needs
to be some basic bit of perl in every Debian system. However, it isn't
useful as is for a common Perl developer or user.

(at least that used to be the case, I know the dpkg developers have been
working on removing perl from its dependencies, not sure how far down
they are on doing that)

[...]
> But, that brings me to the question of how useful perl-base is if PerlIO is
> not included, is that something that should be included, are all existing
> scripts/modules never needing it or rolling their own IO things? Should
> stuff like cpanminus/locallib/perlbrew bring include their own versions?

You should install the "perl" package if you want perl to work properly.

The fact that that isn't working for you is a problem, one you should
try to fix instead of working around ;-)

-- 
To the thief who stole my anti-depressants: I hope you're happy

  -- seen somewhere on the Internet on a photo of a billboard


Reply to: