progendef command not found

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

Introduction

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

progendef: command not found

or when using sudo you get the following error message

sudo: progendef: command not found

Solutions to progendef: command not found

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

In Ubuntu progendef is provided by python3-project-generator-definitions package.

python3-project-generator-definitions is:

This package provides target and MCU definitions for use with the progen tool (package: python3-project-generator)

The definitions provided in this package are used to set proper data for embedded tools supported by progen. New definitions can be created using the progendef helper script included in this package.

This package installs the library and progendef helper script for Python 3.

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

sudo apt-get -y install python3-project-generator-definitions

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

You can also use apt command to install python3-project-generator-definitions.

sudo apt -y install python3-project-generator-definitions

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

sudo aptitude install python3-project-generator-definitions

Summary

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