why is ppm: command not found?

10,744

"ppm" is the name of the package manager used by ActiveState's ActivePerl.

The Ubuntu ppm package is the "Power Policy Manager," a completely unrelated thing.

Unless you are using ActivePerl on your Ubuntu install, you do not want to use their PPM utility. If the package you're trying to install isn't available in Ubuntu's repos, or you don't want to use it if it is available, then using CPAN really is your best bet.

Share:
10,744
Chase Florell
Author by

Chase Florell

I'm a developer in BC Canada and one of the owners of Flo Media Group Inc. I work primarily in C# .NET, Xamarin, HTML5 and Javascript, and I'm also very passionate about DevOps, and have been known to sling my fair share of PowerShell. When I'm not coding, I'm enjoying time with my wonderful wife and children, riding my motorcycle, camping in the summer months, snowboarding in the winter, or maybe just a round at the Golf Course. I Blog Here, and I'm also on Linkedin Contact Me

Updated on August 16, 2022

Comments

  • Chase Florell
    Chase Florell over 1 year

    I'm trying to run a few ppm commands, but I'm not getting very far. I'm running Ubuntu 12.04.1 LTS on an VM.

    > $ sudo apt-get install ppm
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    ppm is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
    
    > $ ppm repo add ASSP2 "http://downloads.sourceforge.net/project/assp/ASSP V2 multithreading/packages/"
    No command 'ppm' found, but there are 16 similar ones
    ppm: command not found
    
    > $ perl -v
    
    This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
    (with 55 registered patches, see perl -V for more detail)
    

    Any direction will be very helpful.

    FYI: I have figured a work around by using cpan, but I'd rather use ppm

    The work around is simply

    $ sudo cpan
    cpan[#]> install some::package
    
  • Chase Florell
    Chase Florell over 11 years
    ah, I understand. As you can probably tell by my SO experience, I'm coming from Windows. This is DEFINITELY why I was trying PPM. Thanks a bunch!
  • ysth
    ysth over 11 years
    many CPAN distributions are available as ubuntu packages; they usually have names like libfoo-bar-perl - see stackoverflow.com/a/13007041/17389 for help finding the proper package name.