This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Entering password for FEniCS in bash shell?

0 votes

I am currently trying to install FEniCS on my Macbook Pro, however when I run 'sudo apt-get install fenics' in the bash shell, it asks for a password. I have tried my password for logging into my mac, 'fenics' as suggested by another user, and 'FEniCS'. Any help would be appreciated - thank you!

asked Jun 2, 2016 by photonJane FEniCS Novice (130 points)

1 Answer

+2 votes

You cannot do sudo apt-get install fenics on a Mac. That will only work on a Debian based Linux distribution, like Ubuntu. See the download page for installation options for your Mac.

answered Jun 3, 2016 by johannr FEniCS Expert (17,350 points)

Thank you. Even after running the 'curl -s http://get.fenicsproject.org | sh' script I was getting an error, but by restarting the Docker host using '$ docker-machine restart default' and setting the environment variables using 'eval "$(docker-machine env default)" I was able to pull the fenicsproject image and run it on my Mac. I appreciate your assistance!

...