perli11ndoc command not found

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

Introduction

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

perli11ndoc: command not found

or when using sudo you get the following error message

sudo: perli11ndoc: command not found

Solutions to perli11ndoc: command not found

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

In Ubuntu perli11ndoc is provided by libglib-object-introspection-perl package.

libglib-object-introspection-perl is:

GObject is an abstraction layer that allows programming with an object paradigm that is compatible with many languages. It is a part of Glib, the core library used to build GTK+ and GNOME.

This package contains Glib::Object::Introspection, the Perl binding generator for libraries that support gobject-introspection, such as GTK+, WebKit, libsoup and many more.

To use perli11ndoc, the Perl introspection documentation tool, the -dev version of the introspected library must be installed. For example, perli11ndoc can only show documentation for libgtk3-perl if libgtk-3-dev is installed.

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

sudo apt-get -y install libglib-object-introspection-perl

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

You can also use apt command to install libglib-object-introspection-perl.

sudo apt -y install libglib-object-introspection-perl

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

sudo aptitude install libglib-object-introspection-perl

Summary

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