dbic_form_generator command not found

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

Introduction

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

dbic_form_generator: command not found

or when using sudo you get the following error message

sudo: dbic_form_generator: command not found

Solutions to dbic_form_generator: command not found

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

In Ubuntu dbic_form_generator is provided by libhtml-formhandler-model-dbic-perl package.

libhtml-formhandler-model-dbic-perl is:

HTML::FormHandler::Model::DBIC and HTML::FormHandler::TraitFor::Model::DBIC provide an interface between HTML::FormHandler and DBIx::Class.

This interface is available as a regular class or as a Moose role. It will save form fields automatically to the database.

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

sudo apt-get -y install libhtml-formhandler-model-dbic-perl

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

You can also use apt command to install libhtml-formhandler-model-dbic-perl.

sudo apt -y install libhtml-formhandler-model-dbic-perl

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

sudo aptitude install libhtml-formhandler-model-dbic-perl

Summary

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