

Optional steps for subscription on release candidates.

Sudo apt-get install kitware-archive-keyring

Sudo rm /usr/share/keyrings/kitware-archive-keyring.gpg Install the kitware-archive-keyring package to ensure that your keyring stays up to date as Kitware rotate the keys:.Add the repository to your sources list and update.įor Ubuntu Jammy Jellyfish (22.04): echo 'deb jammy main' | sudo tee /etc/apt//kitware.list >/dev/nullįor Ubuntu Focal Fossa (20.04): echo 'deb focal main' | sudo tee /etc/apt//kitware.list >/dev/nullįor Ubuntu Bionic Beaver (18.04): echo 'deb bionic main' | sudo tee /etc/apt//kitware.list >/dev/null.Wget -O - 2>/dev/null | gpg -dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null If you are using a minimal Ubuntu image or a Docker image, you may need to install the following packages:.It allows you to install latest CMake via apt-get. Now CMake developer team in Kitware Inc provides APT repositiory. With the help of Hunter you can organize builds for Linux, Windows, macOS, iOS, Android, Raspberry Pi and other platforms. Edit: As GNUton has pointed out, the following only works on Ubuntu. Hunter is a CMake driven cross-platform package manager for C/C++ 1 projects.
