Now, a small step. Again let's download and install via shell script. Go to CMake and copy the link for the latest stable version for Linux. When I installed, the latest was 3.20.1, so type in WSL-Ubuntu terminal:
- wget https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-linux-x86_64.sh
- sudo sh cmake-3.20.1-linux-x86_64.sh --prefix=/usr/local --exclude-subdir
- cmake --help (to see if CMake is installed)
Note: we are installing CMake for WSL, not for the DeepFluid environment (that will be created next), as you can see by the prefix highlighted above. Don't let it inside the conda DeepFluid environment, or it will fail to find packages installed via "sudo apt install". Not all packages are available via "conda install" or "pip install". Also, you will need CMake in every conda environment you create, so make it accessible to everyone.
No comments:
Post a Comment