xml2bib command not found

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

Introduction

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

xml2bib: command not found

or when using sudo you get the following error message

sudo: xml2bib: command not found

Solutions to xml2bib: command not found

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

In Ubuntu xml2bib is provided by bibutils package.

bibutils is:

Convert between the following bibliographic data formats: BibTeX, COPAC, EndNote refer, EndNote XML, Pubmed XML, ISI web of science, US Library of Congress MODS XML, RIS, and Word 2007 bibliography.

This package provides command line tools bib2xml, copac2xml, end2xml endx2xml, isi2xml, med2xml, ris2xml which convert to MODS XML format, modsclean which reformats MODS XML, and a matching set of commands xml2ads, xml2bib, xml2end, xml2isi, xml2ris, xml2wordbib which convert from MODS XML.

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

sudo apt-get -y install bibutils

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

You can also use apt command to install bibutils.

sudo apt -y install bibutils

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

sudo aptitude install bibutils

Summary

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