mab2_convert command not found

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

Introduction

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

mab2_convert: command not found

or when using sudo you get the following error message

sudo: mab2_convert: command not found

Solutions to mab2_convert: command not found

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

In Ubuntu mab2_convert is provided by libcatmandu-mab2-perl package.

libcatmandu-mab2-perl is:

Catmandu provides a suite of Perl modules to ease the import, storage, retrieval, export and transformation of metadata records.

Catmandu::MAB2 contains methods to work with MAB2 data within the Catmandu framework.

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

sudo apt-get -y install libcatmandu-mab2-perl

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

You can also use apt command to install libcatmandu-mab2-perl.

sudo apt -y install libcatmandu-mab2-perl

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

sudo aptitude install libcatmandu-mab2-perl

Summary

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