nastran command not found

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

Introduction

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

nastran: command not found

or when using sudo you get the following error message

sudo: nastran: command not found

Solutions to nastran: command not found

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

In Ubuntu nastran is provided by nastran package.

nastran is:

NASTRAN is the NASA Structural Analysis System, a finite element analysis program (FEA) completed in the early 1970’s. It was the first of its kind and opened the door to computer-aided engineering. Subsections of a design can be modeled and then larger groupings of these elements can again be modeled. NASTRAN can handle elastic stability analysis, complex eigenvalues for vibration and dynamic stability analysis, dynamic response for transient and steady state loads, and random excitation, and static response to concentrated and distributed loads, thermal expansion, and enforced deformations.

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

sudo apt-get -y install nastran

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

You can also use apt command to install nastran.

sudo apt -y install nastran

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

sudo aptitude install nastran

Summary

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