Hi Shawn,

I think `docker exec -u root -it <container name or ID> bash` would help 
you get root privilege and install cmake.

On Friday, July 13, 2018 at 2:21:28 PM UTC-4, Yuxiang Wang wrote:
>
> (re-post from https://github.com/dealii/docker-files/issues/17)
>
> Hi all,
>
>
> Quick question - after I used this docker image:
>
>
> docker run -v %cd%:/home/dealii/shared -it 
> dealii/dealii:9.0.0-gcc-mpi-fulldepsspack-debugrelease
>
>
> And if I run cmake CMakeLists.txt, it reports:
>
>
> bash: cmake: command not found
>
>
> It seems that cmake is not installed. And if I do sudo apt-get install 
> cmake it says bash: sudo: command not found; if I do su it asks for a 
> password that I don't know.
>
>
> Could you please help?
>
>
> Thanks,
> Shawn
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to