A reminder of how to handle MBDyn after installation. The environment is assumed to be Ubuntu. Someone who uses a tool called MBDyn may be in Japan, so I will publish it.
By the way, I wanted to write the code coolly like other articles, so I will write it properly from this time.
First, to use MBDyn anywhere, you need to set environment variables and pass it through the path. You need to set environment variables there. By default, the'MBDyn'command is located in'/ usr / local / mbdyn / bin'. Therefore, add the above location to the location where the shell searches for the command when the shell executes the command with the following command.
PATH.rb
export PATH=$PATH:/usr/local/mbdyn/bin
However, this is only a temporary change and all settings will be lost when you exit bash. Therefore, change the bash configuration file.
PATHvim.rb
vim ~/.bashrc
Add the above export command to the opened file.
Now you can probably use'MBDyn'from now on.
Recommended Posts