V
V
Venya Babiyman2018-12-18 03:28:26
Perl
Venya Babiyman, 2018-12-18 03:28:26

Why is Perl installed by default on Linux?

Just curious.
Why is Perl installed by default on most Linux distributions?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Andrey, 2018-12-18
@VladimirAndreev

In debian stable and everything based on it perl goes because there is apt which depends on dpkg-dev which depends on perl...

P
pfg21, 2018-12-18
@pfg21

so look at the system everything is written there,
for example, Ubuntu 18.04.1 LTS server, trimmed to the maximum. we climb into aptitude (a convenient functional add-on over apt).
see how many packages depend on perl
--\ Packages that depend on perl (4562)
in 4.5 thousand packages there are a lot of different necessary programs, up to qt5 libraries.
the package also provides the system with the virtual name perl:any, which is also what many want.
--\ Packages that depend on perl:any (419)
there is also a perl-base package (the minimum set of perls) on which everything depends
--\ Packages that depend on perl-base (20)
but which
i A debconf 1.5 .66
i A init-system-helpers 1.51

O
OnYourLips, 2018-12-18
@OnYourLips

Huge amount of legacy code.
It's silly to write something new on Perl, but it's just as silly to rewrite something that already works fine and is not in the phase of active development.

V
Venya Babiyman, 2018-12-18
@vanyabrovaru

It is said that in Linux and in most Unix OSes, several Perl scripts are used to build the kernel without which the kernel cannot be built.
It is also said that someone tried to write these Bash scripts to exclude Perl from FreeBSD, but I am not aware of the results.

T
TheAthlete, 2019-04-13
@TheAthlete

Many scripts and utilities are written in Perl:
pgbadger
innotop
mytop
inxi
spamassassin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question