How to specify where CMake is installed in Ubuntu?

前端 未结 2 1236
借酒劲吻你
借酒劲吻你 2021-01-19 09:55

I have downloaded the cmake-3.11.3-Linux-x86_64.sh file. Then I executed it and it created a folder that has a bin file there is cmake

2条回答
  •  甜味超标
    2021-01-19 10:38

    Rather than installing CMake mannually,
    Please let apt take care of it.

    Just rollback whatever changes you've done.
    Simply type sudo apt install cmake on your terminal.

    and you're ready to use CMake since apt takes care of all dependencies installations and environment variable settings.

    I hope, this will help.

提交回复
热议问题