Install libfile-which-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libfile-which-perl
Description:
Perl module for searching paths for executable programs
File::Which simulates the behavior of the standard 'which' program: it searches directories of a user's PATH (as returned by File::Spec) looking for executable files matching a given name. . On Debian /usr/bin/which is guaranteed to be available, but going through the Perl implementation can still save a fork.
Homepage: https://metacpan.org/release/File-Which
Version: 1.21-1
Section: perl