in reply to Re^5: @INC error
in thread @INC error

Things get worse. I supposedly installed perl using "dnf install perl" in Fedora 31, which seemed to work OK. However, I now have no command "perl" in any of my "bin"s and no paths in @INC. I looked for a simple perl tarball, like I used many years ago, but can't find one, only "ActivePerl-5.28.1.0000-x86_64-linux-glibc-2.12-f7fd6fde.tar.gz".

Replies are listed 'Best First'.
Re^7: @INC error
by haukex (Archbishop) on Jan 21, 2020 at 21:54 UTC

    That's strange. Unfortunately I don't know enough about Fedora to give any concrete advice here; it does look like that's the correct package. Have you tried uninstalling the package first, and/or forcing its installation?

    You can get the Perl source at https://www.perl.org/get.html#unix_like, as well as precompiled binaries, although in my experience those are rarely needed on *NIX. You can theoretically build a system Perl from scratch, but I'm pretty sure using Fedora's packages will be better in the long run.

      Tried that. Installed ActivePerl-5.28.1.0000-x86_64-linux-glibc-2.12-f7fd6fde in default directory /opt/ActivePerl-5.28 but no command perl unless its the link perl -> perl-static or perl5.28.1 -> perl-static. There is nothing in my path linked to them. Typically, in past installations, the perl command is in /usr/bin/. My perl programs all point to that location (#!/usr/bin/perl -w) .
        Tried that.

        Perhaps you could post the output of dnf --verbose reinstall perl-interpreter, maybe even as a new question for better visibility.