mpb-split command not found

In this troubleshooting guide we learn how to fix mpb-split command not found error message

Introduction

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

mpb-split: command not found

or when using sudo you get the following error message

sudo: mpb-split: command not found

Solutions to mpb-split: command not found

How To Fix mpb-split: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mpb-split is provided by mpb package.

mpb is:

The MIT Photonic-Bands package is a free program for computing the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, on both serial and parallel computers. It was developed by Steven G. Johnson at MIT in the Joannopoulos Ab Initio Physics group, and designed to study photonic crystal structures.

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

sudo apt-get -y install mpb

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

You can also use apt command to install mpb.

sudo apt -y install mpb

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

sudo aptitude install mpb

Summary

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