Unix Wiki

If you receive the following message in CPAN

Cannot unzip, no unzip program available

On a Debian based system, follow these steps to solve it

  1. sudo apt-get install unzip
  2. whereis unzip (write down this path for step 4)
  3. sudo cpan
  4. (inside cpan shell) o conf unzip unzip_path (you got the unzip_path in step 2)
  5. (inside cpan shell) o conf commit
  6. Exit the cpan shell