I found a Perl module that is often packaged on Debian. In my case I didn't have access to an updated package manager, but I do have Perl.

So I ran cpan which opened up cpan shell where I entered install App::Ack.

Now I want to run Ack from command line. Can anyone assist with the bash syntax for a relatively new Perl user?

The ubuntu version is used like this: ack 'text-to-find-here'

1 Answer 1


Ask Perl where it install its modules. When you run perl -V you get message like this:


Add those paths to PATH environment variable and run your program with app/ack or just ack depending on directory structure.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .