marcvalidate command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
marcvalidate: command not found
or when using sudo you get the following error message
sudo: marcvalidate: command not found
Solutions to marcvalidate: command not found
How To Fix marcvalidate: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu marcvalidate is provided by libmarc-schema-perl package.
libmarc-schema-perl is:
MARC::Schema defines a set of MARC21 fields and subfields to validate Catmandu::MARC records.
For a more detailed description of the (default) schema see MARC21 structure in JSON: https://pkiraly.github.io/2018/01/28/marc21-in-json/.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libmarc-schema-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libmarc-schema-perl.
sudo apt -y install libmarc-schema-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libmarc-schema-perl
Summary
In this tutorial we learn how to fix marcvalidate command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.