prefix command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
prefix: command not found
or when using sudo you get the following error message
sudo: prefix: command not found
Solutions to prefix: command not found
How To Fix prefix: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu prefix is provided by libapp-options-perl package.
libapp-options-perl is:
App::Options combines command-line arguments, environment variables, option files, and program defaults to produce a hash of option values.
Furthermore, its special treatment of the “perlinc” option facilitates the inclusion (“use”) of application-specific perl modules from special places to enable the installation of multiple versions of an application on the same system (i.e. /usr/myproduct/version).
To fix this problem, we can install more using the command below.
sudo apt-get -y install libapp-options-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libapp-options-perl.
sudo apt -y install libapp-options-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libapp-options-perl
Summary
In this tutorial we learn how to fix prefix command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.