mBackground command not found

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

Introduction

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

mBackground: command not found

or when using sudo you get the following error message

sudo: mBackground: command not found

Solutions to mBackground: command not found

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

In Ubuntu mBackground is provided by montage package.

montage is:

Montage is a toolkit for assembling astronomical images into custom mosaics.

It uses algorithms that preserve the calibration and positional (astrometric) fidelity of the input images to deliver mosaics that meet user-specified parameters of projection, coordinates, and spatial scale. It supports all projections and coordinate systems in use in astronomy.

It contains independent modules for analyzing the geometry of images on the sky, and for creating and managing mosaics; these modules are powerful tools in their own right and have applicability outside mosaic production, in areas such as data validation.

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

sudo apt-get -y install montage

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

You can also use apt command to install montage.

sudo apt -y install montage

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

sudo aptitude install montage

Summary

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