progen command not found

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

Introduction

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

progen: command not found

or when using sudo you get the following error message

sudo: progen: command not found

Solutions to progen: command not found

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

In Ubuntu progen is provided by python3-project-generator package.

python3-project-generator is:

python-project-generator allows one to define an embedded hardware/software project in structured text (using YAML), and then generate IDE (integrated development environment) project files based on the defined rules.

python-project-generator currently generates projects for the following tools:

  • CMake (GCC ARM)
  • CoIDE (GCC ARM)
  • Eclipse (Makefile with GCC ARM)
  • IAR
  • Makefile (ARMCC)
  • Makefile (GCC ARM)
  • Sublime Text (Makefile with GCC ARM)
  • uVision4 and uVision5
  • Visual Studio (Makefile with GCC ARM)

This package installs the library and progen 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

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.

sudo apt -y install python3-project-generator

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

sudo aptitude install python3-project-generator

Summary

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