marcdump command not found

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

Introduction

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

marcdump: command not found

or when using sudo you get the following error message

sudo: marcdump: command not found

Solutions to marcdump: command not found

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

In Ubuntu marcdump is provided by libmarc-record-perl package.

libmarc-record-perl is:

The MARC::* series of modules create a simple object-oriented abstraction of MARC record handling. The files are:

MARC::Doc::Tutorial A tutorial explaining how to use MARC::Record.

MARC::Record The core class for representing a single MARC record.

MARC::Field Another core class for representing a single field in a record.

MARC::Batch The basic object for access to a batch of one or more MARC records.

MARC::File Base class for the MARC file.

MARC::File::USMARC MARC::File::MicroLIF Subclasses of MARC::File specific to the USMARC and MicroLIF formats

MARC::Lint Extension to check MARC records for validity.

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

sudo apt-get -y install libmarc-record-perl

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

You can also use apt command to install libmarc-record-perl.

sudo apt -y install libmarc-record-perl

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

sudo aptitude install libmarc-record-perl

Summary

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