I installed it with sudo apt-get install nastran. The examples did not work and I got the same error as the original poster on the github nastran-95 -> Issues -> .Error while running examples #15
As root, I changed the DISP1 and HEAT1 files that are located in /usr/share/nastran/rf so that the lines that have ****SBST 1, 3 are separated into two separate lines: ****SBST 1 ****SBST 3 I had eight instances of those directives in the DISP1 file that correspond to the eight messages we received in d01011.inp.out. Except for modal, all the examples have run to completion. I have tested to d01133a. With the exception of modal, examples d01000a through d01021a check very well with the demoout files saved for us by NASA. You can find those files on the github NASTRAN-95 web page. For HEAT1, I made the exact same change. I am going to continue with the demonstration problems and make necessary changes to the files in /usr/share/nastran/rf so that NASTRAN runs. I did not set any environment variables. I just type nastran d01011a.inp at the command prompt. This is after I copy the .inp file from /usr/share/doc/nastran/examples/. You can find the file list on the debian linux web page for nastran. Just click on the link that says list of files. I did have to modify my /etc/apt/sources.list.d/debian.sources file to include non-free on the bookwork line. Then I had to execute sudo apt-get update. nastran installed cleanly after that. Best Regards, Chris