bloom-export-upstream command not found

In this troubleshooting guide we learn how to fix bloom-export-upstream command not found error message

Introduction

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

bloom-export-upstream: command not found

or when using sudo you get the following error message

sudo: bloom-export-upstream: command not found

Solutions to bloom-export-upstream: command not found

How To Fix bloom-export-upstream: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bloom-export-upstream is provided by python3-bloom package.

python3-bloom is:

This package is part of Robot OS (ROS). It (bloom) provides tools for releasing software on top of a git repository and uses tools and patterns from git-buildpackage. Additionally, bloom uses meta and build information from catkin (https://github.com/ros/catkin) to automate release branching and the generation of platform specific source packages, like debian’s src-debs.

This package installs the library for Python 3.

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

sudo apt-get -y install python3-bloom

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

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

sudo apt -y install python3-bloom

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

sudo aptitude install python3-bloom

Summary

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