pfunc command not found

In this troubleshooting guide we learn how to fix pfunc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pfunc: command not found

or when using sudo you get the following error message

sudo: pfunc: command not found

Solutions to pfunc: command not found

How To Fix pfunc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pfunc is provided by libmodule-info-perl package.

libmodule-info-perl is:

Module::Info is a Perl module for determining information about Perl modules without actually loading the module. It isn’t actually specific to modules and should work on any Perl code.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libmodule-info-perl

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libmodule-info-perl.

sudo apt -y install libmodule-info-perl

Or if you have aptitude installed you can use the following command.

sudo aptitude install libmodule-info-perl

Summary

In this tutorial we learn how to fix pfunc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.