sage-inline-fortran command not found

In this troubleshooting guide we learn how to fix sage-inline-fortran command not found error message

Introduction

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

sage-inline-fortran: command not found

or when using sudo you get the following error message

sudo: sage-inline-fortran: command not found

Solutions to sage-inline-fortran: command not found

How To Fix sage-inline-fortran: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu sage-inline-fortran is provided by sagemath package.

sagemath is:

SageMath is a free open-source mathematics software system licensed under the GPL. It builds on top of many existing open-source packages: NumPy, SciPy, matplotlib, Sympy, Maxima, GAP, FLINT, R and many more. Access their combined power through a common, Python-based language or directly via interfaces or wrappers.

Mission: Creating a viable free open source alternative to Magma, Maple, Mathematica and Matlab.

This package contains the main SageMath installation.

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

sudo apt-get -y install sagemath

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

You can also use apt command to install sagemath.

sudo apt -y install sagemath

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

sudo aptitude install sagemath

Summary

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