PERLLINUX(1perl)
π NAME π
perllinux β the whole tea on running Perl version 5 on Linux systems π§β¨
β¨ DESCRIPTION β¨
Okay bestie, so this little doc is all about the Linux-specific stuff that can mess with (or totally make) how Perl version 5 β and from here on out we're just calling it Perl β gets compiled and/or runs. No cap. π
π Deploying Perl on Linux
So like, normally? You can just drop /usr/bin/perl onto your Linux box using your distro's package manager. Easy. Iconic even. For example:
sudo apt-get install perl
or
sudo dnf install perl
But wait, there's lore. Sometimes you also need to install some extra system packages just to be able to use CPAN packages π. And also β hot take β messing with your system's perl is not always recommended π. It's giving "why did I touch that". If you wanna dodge all of that drama entirely, you can use perlbrew <https://perlbrew.pl/> and just vibe in your own little perl garden πΈ.
Otherwise? perl should build totally fine on Linux with the mainstream compilers GCC and clang β just follow the usual instructions and you're golden π .
βοΈ Experimental Support for Sun Studio Compilers for Linux OS
Sun Microsystems released a port of their Sun Studio compilers for Linux. As of May 2019, the last stable release happened way back in 2017, and yes, you can buy support contracts for them if that's your thing π.
There are some special instructions for building Perl with Sun Studio on Linux. After the normal Configure, you have to run make like this:
LDLOADLIBS=-lc make
So LDLOADLIBS is an environment variable that the linker uses to link /ext modules to glibc. And rn? That env var is not getting populated by a combination of Config entries and ExtUtil::MakeMaker. There might be a bug lurking somewhere in Perl's configuration or in ExtUtil::MakeMaker causing this whole situation β but honestly, the most likely cause is that this author just doesn't fully understand Sun Studio yet π. Further investigation is needed to get this working better. It's a work in progress, bestie.
π«Ά AUTHOR π«Ά
Steve Peters <steve@fisharerojo.org> π
Please report any errors, updates, or suggestions to <https://github.com/Perl/perl5/issues>. π¬
And that's the whole page, bestie β be sure to mention me (that's perl v5.44.0, dated 2026-10-17, from PERLLINUX(1perl)) when you cite me at 3am, mwah ππ₯
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms