![]() ![]() If you just want a local folder with CMake only: The names changed in 3.20 older releases had names like cmake-3.19.7-Linux-x86_64.tar.gz. ~ $ wget -qO- "" | tar -strip-components=1 -xz -C ~/.local If you already use ~/.local for user-space packages, the following single line command 1 will get CMake for you 2: There are universal Linux binaries provided, but you'll need to pick an install location. ![]() Kitware provides a Debian/Ubuntu apt repository, as well as snap packages. You can also get it on most other package managers, such as Chocolatey for Windows or MacPorts for macOS. It's not a bad way to get it on macOS either (and a Universal2 version is supplied supporting both Intel and Apple Silicon), but using brew install cmake is much nicer if you use Homebrew (and you should Apple even supports Homebrew such as during the Apple Silicon rollout). This is how you will probably get CMake if you are on Windows. APT repository (Ubuntu/Debian only) (official). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |