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

What is the install path for PPM?

by Anonymous Monk
on Oct 08, 2019 at 13:16 UTC ( #11107199=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I haven't used Perl in years but just installed it on my Windows 10 machine. I'm trying to get PPM to work in the command line but it says it's not recognized. I remember years ago having to update the environment path to include the new PPM piece but I can't for the life of me find documentation on what the path needs to be updated to. Anyone install perl on Windows and know what you had to update the path to include?

Replies are listed 'Best First'.
Re: What is the install path for PPM?
by rjt (Deacon) on Oct 08, 2019 at 13:25 UTC

    Assuming you're talking about ActivePerl, PPM has been phased out, and will not be available if you have 5.28 or later:

    NOTE: PPM is being phased out as ActiveState moves forward with a new and improved solution for Perl package management across all platforms. While PPM has been included in all versions of ActivePerl up to and including version 5.26, the number of modules with which it worked has steadily declined. As a result, starting with ActivePerl 5.28, PPM modules are no longer available.

    See also for more information.

    And PPM has AFAIK never been recommended with Strawberry Perl.

      And PPM has AFAIK never been recommended with Strawberry Perl.

      I recently discovered that Strawberry Perl comes with its own PPM. I had been struggling to install ImageMagick binaries on Windows when I found a forum that mentioned using PPM on Strawberry Perl to install it. A minute later it was installed. The PPM bundle included the correct ImageMagick binaries with the module. I don't know about other modules or how good the coverage is in general.

Re: What is the install path for PPM?
by marto (Archbishop) on Oct 08, 2019 at 13:21 UTC

    You don't say which perl you're using. ActiveState and Strawberry perl by default install to different places, and you can customise this at installation time. Use your OS to find ppm and add that path to your PATH variable.

      I installed ActivateState but I don't know where PPM installed to. I just used the default settings and I searched "PPM" on C: and there were no search results found. Would this have been instsalled under the Perl64> tree? If so, I don't see any PPM folders in there
        Isn't PPM usually in the same folder as perl.exe? along with cpan and the other utilities, been a loooooong time since I've used PPM, I don't miss those days : ) Best of luck. Or just switch over to strawberry perl, you'll like it.
Re: What is the install path for PPM?
by karlgoethebier (Monsignor) on Oct 08, 2019 at 19:12 UTC
    "... what you had to update the path to include?"

    Nothing except to follow the advice the ActiveState installer prompts you as far as I remember. But you should better try Strawberry. Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11107199]
Front-paged by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2019-10-14 19:07 GMT
Find Nodes?
    Voting Booth?