mocassin command not found

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

Introduction

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

mocassin: command not found

or when using sudo you get the following error message

sudo: mocassin: command not found

Solutions to mocassin: command not found

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

In Ubuntu mocassin is provided by mocassin package.

mocassin is:

mocassin is a fully 3D or 2D photoionisation and dust radiative transfer code which employs a Monte Carlo approach to the transfer of radiation through media of arbitrary geometry and density distribution. It was originally developed for the modelling of photoionised regions like HII regions and planetary nebulae and has since expanded and been applied to a variety of astrophysical problems, including modelling clumpy dusty supernova envelopes, star forming galaxies, protoplanetary disks and inner shell fluorence emission in the photospheres of stars and disk atmospheres. The code can deal with arbitrary Cartesian grids of variable resolution, it has successfully been used to model complex density fields from SPH calculations and can deal with ionising radiation extending from Lyman edge to the X-ray. The dust and gas microphysics is fully coupled both in the radiation transfer and in the thermal balance.

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

sudo apt-get -y install mocassin

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

You can also use apt command to install mocassin.

sudo apt -y install mocassin

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

sudo aptitude install mocassin

Summary

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