{
    "content": [
        {
            "type": "text",
            "text": "# PERLLINUX (man)\n\n## NAME\n\nperllinux - Perl version 5 on Linux systems\n\n## DESCRIPTION\n\nThis document describes various features of Linux that will affect how Perl version 5\n(hereafter just Perl) is compiled and/or runs.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION** (2 subsections)\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "PERLLINUX",
        "section": "",
        "mode": "man",
        "summary": "perllinux - Perl version 5 on Linux systems",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": [
                    {
                        "name": "Deploying Perl on Linux",
                        "lines": 9
                    },
                    {
                        "name": "Experimental Support for Sun Studio Compilers for Linux OS",
                        "lines": 15
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "perllinux - Perl version 5 on Linux systems\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This document describes various features of Linux that will affect how Perl version 5\n(hereafter just Perl) is compiled and/or runs.\n",
                "subsections": [
                    {
                        "name": "Deploying Perl on Linux",
                        "content": "Normally one can install /usr/bin/perl on Linux using your distribution's package manager\n(e.g: \"sudo apt-get install perl\", or \"sudo dnf install perl\"). Note that sometimes one needs\nto install some extra system packages in order to be able to use CPAN frontends, and that\nmessing with the system's perl is not always recommended. One can use perlbrew\n<https://perlbrew.pl/> to avoid such issues.\n\nOtherwise, perl should build fine on Linux using the mainstream compilers GCC and clang,\nwhile following the usual instructions.\n"
                    },
                    {
                        "name": "Experimental Support for Sun Studio Compilers for Linux OS",
                        "content": "Sun Microsystems has released a port of their Sun Studio compilers for Linux.  As of May\n2019, the last stable release took place on 2017, and one can buy support contracts for them.\n\nThere are some special instructions for building Perl with Sun Studio on Linux.  Following\nthe normal \"Configure\", you have to run make as follows:\n\nLDLOADLIBS=-lc make\n\n\"LDLOADLIBS\" is an environment variable used by the linker to link \"/ext\" modules to glibc.\nCurrently, that environment variable is not getting populated by a combination of \"Config\"\nentries and \"ExtUtil::MakeMaker\".  While there may be a bug somewhere in Perl's configuration\nor \"ExtUtil::MakeMaker\" causing the problem, the most likely cause is an incomplete\nunderstanding of Sun Studio by this author.  Further investigation is needed to get this\nworking better.\n"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Steve Peters <steve@fisharerojo.org>\n\nPlease report any errors, updates, or suggestions to <https://github.com/Perl/perl5/issues>.\n\n\n\nperl v5.34.0                                 2025-07-25                                 PERLLINUX(1)",
                "subsections": []
            }
        }
    }
}