dbicadmin command not found

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

Introduction

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

dbicadmin: command not found

or when using sudo you get the following error message

sudo: dbicadmin: command not found

Solutions to dbicadmin: command not found

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

In Ubuntu dbicadmin is provided by libdbix-class-perl package.

libdbix-class-perl is:

DBIx::Class is an SQL to OO mapper with an object API inspired by Class::DBI (and a compatibility layer as a springboard for porting) and a resultset API that allows abstract encapsulation of database operations. It aims to make representing queries in your code as perl-ish as possible while still providing access to as many of the capabilities of the database as possible, including retrieving related records from multiple tables in a single query, JOIN, LEFT JOIN, COUNT, DISTINCT, GROUP BY and HAVING support.

DBIx::Class can handle multi-column primary and foreign keys, complex queries and database-level paging, and does its best to only query the database in order to return something you’ve directly asked for. If a resultset is used as an iterator it only fetches rows off the statement handle as requested in order to minimise memory usage. It has auto-increment support for SQLite, MySQL, PostgreSQL, Oracle, SQL Server and DB2 and is known to be used in production on at least the first four, and is fork- and thread-safe out of the box (although your DBD may not be).

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

sudo apt-get -y install libdbix-class-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-perl.

sudo apt -y install libdbix-class-perl

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

sudo aptitude install libdbix-class-perl

Summary

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