changelog command not found

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

Introduction

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

changelog: command not found

or when using sudo you get the following error message

sudo: changelog: command not found

Solutions to changelog: command not found

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

In Ubuntu changelog is provided by python3-changelog package.

python3-changelog is:

This package provides simple Sphinx markup to render changelog displays (this is the Python 3 version of the extension).

Example:

==================== Changelog for 1.5.6

.. changelog:: :version: 1.5.6 :released: Sun Oct 12 2008

  .. change::
      :tags: general
      :tickets: 27

    Improved the frobnozzle.

  .. change::
      :tags: rendering, tests
      :pullreq: 8
      :changeset: a9d7cc0b56c2

    Rendering tests now correctly render.

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

sudo apt-get -y install python3-changelog

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

You can also use apt command to install python3-changelog.

sudo apt -y install python3-changelog

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

sudo aptitude install python3-changelog

Summary

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