pybtex-convert command not found

In this troubleshooting guide we learn how to fix pybtex-convert command not found error message

Introduction

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

pybtex-convert: command not found

or when using sudo you get the following error message

sudo: pybtex-convert: command not found

Solutions to pybtex-convert: command not found

How To Fix pybtex-convert: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pybtex-convert is provided by pybtex package.

pybtex is:

Pybtex reads citation information from a file and produces a formatted bibliography. BibTeX style files are supported. Alternatively it is possible to write styles in Python.

Pybtex currently understands the following bibliography formats:

  • BibTeX
  • BibTeXML
  • YAML-based format

The resulting bibliography may be output in one of the following formats:

  • LaTeX
  • HTML
  • plain text

This package provides the command-line interface.

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

sudo apt-get -y install pybtex

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

You can also use apt command to install pybtex.

sudo apt -y install pybtex

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

sudo aptitude install pybtex

Summary

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