dbicdump command not found

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

Introduction

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

dbicdump: command not found

or when using sudo you get the following error message

sudo: dbicdump: command not found

Solutions to dbicdump: command not found

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

In Ubuntu dbicdump is provided by libdbix-class-schema-loader-perl package.

libdbix-class-schema-loader-perl is:

DBIx::Class::Schema::Loader is an extension to DBIx::Class that automates the definition of a DBIx::Class::Schema by scanning table schemas and setting up columns and primary keys appropriately. It supports MySQL, PostgreSQL, SQLite and DB2.

Bare table definitions are fairly straightforward, but relationship creation is somewhat heuristic, especially with respect to choosing relationship types and names, as well as join types. The relationships generated by this module will probably never be as well-defined as hand-generated ones.

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

sudo apt-get -y install libdbix-class-schema-loader-perl

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

You can also use apt command to install libdbix-class-schema-loader-perl.

sudo apt -y install libdbix-class-schema-loader-perl

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

sudo aptitude install libdbix-class-schema-loader-perl

Summary

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