pasdoc command not found

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

Introduction

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

pasdoc: command not found

or when using sudo you get the following error message

sudo: pasdoc: command not found

Solutions to pasdoc: command not found

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

In Ubuntu pasdoc is provided by pasdoc package.

pasdoc is:

Pasdoc generates documentation for Pascal units. It takes descriptions from comments within the source code. Documentation output formats include HTML and LaTeX. Object Pascal, FreePascal and Delphi specific features are supported.

Pasdoc has the follow features:

  • Understands code written in any Pascal and Object Pascal dialect
  • Understands modern Object Pascal language, as found in latest FreePascal and Delphi versions
  • Many output formats: HTML, HTMLHelp, LaTeX (PDF, PS), latex2rft, XML
  • Command-line (in batch mode) and GUI interface
  • Documentation from comments in the source code and/or provided in separate file
  • Arbitrary (even optional) comment markers
  • Special @-tags for formatting the documentation
  • Whole pages (like introduction to the docs) can be written using @-tags
  • Easy search box in HTML output using Tipue
  • Classes and unit dependency graphs
  • Optional automatic linking of identifiers
  • Spell checking
  • Cache for generating documentation fast

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

sudo apt-get -y install pasdoc

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

You can also use apt command to install pasdoc.

sudo apt -y install pasdoc

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

sudo aptitude install pasdoc

Summary

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