Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2930

Can't Configure Bash-Shell to Run OpenFOAM (working enviroment)

$
0
0

I've Been trying to download and install OpenFOAM-v1806 for windows 10 using Ubuntu. I am currently using this guide to help me https://www.openfoam.com/download/install-windows-10.php and am stuck at the Configure the Bash-shell to run OpenFOAM step.

Everytime I open Ubuntu I get this message:

-bash /opt/OpenFOAM/OpenFOAM-v1806/etc/bashrc: No such file or directory
-bash /opt/OpenFOAM/OpenFOAM-v1806/etc/bashrc: No such file or directory
-bash /opt/OpenFOAM/OpenFOAM-v1806/etc/bashrc: No such file or directory

I assume I have messed up and typed in echo "source /opt/OpenFOAM/OpenFOAM-v1806/etc/bashrc">> ~/.bashrc 3 times where it only tells you to do that step once.

following that line I type in source $HOME/.bashrc but I just get the same output as when I open Ubuntu as the three repetitive lines of code above.

Here is a screenshot: enter image description here

I assume I made 3 working environments and would like to remove them all, how would I go about this? also why am I getting the no such file or directory error when I have followed the steps on the website link?

If you can help me that would be much appreciated!


Viewing all articles
Browse latest Browse all 2930

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>