Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: @INC error

by worstead (Acolyte)
on Jan 20, 2020 at 20:25 UTC ( [id://11111648]=note: print w/replies, xml ) Need Help??


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

Removed most of my old versions of perl but cannot download perlbrew. There appears to be no simple download site. Have tried the following:
wget -O - https://install.perlbrew.pl | bash
and
curl -L https://install.perlbrew.pl | bash
In each case get
Need /usr/bin/perl or /usr/local/bin/perl to use bash
which I do not now have.

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

    Sorry, should have been more clear on this: you'll need at least one Perl to bootstrap the others with, that's usually the system Perl, so reinstall that using your system's package manager. The advantage of the methods I described is that they don't touch the system Perl.

      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".

        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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11111648]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-24 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found