This is Kitware, Inc.'s third-party APT repository, which we use for hosting our own Ubuntu packages, such as CMake.
We currently support Ubuntu 16.04, 18.04, and 20.04 on our repository. The 16.04 and 18.04 repositories support x86 (32-bit and 64-bit), and the 20.04 repository supports x86 (32-bit and 64-bit) and ARM (32-bit and 64-bit).
To add the repository to your installation, do the following in order:
If you are using a minimal Ubuntu image or a Docker image, you may need to install the following packages:
sudo apt-get update sudo apt-get install apt-transport-https ca-certificates gnupg software-properties-common wget
Obtain a copy of our signing key:
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
Add the repository to your sources list and update.
For Ubuntu Focal Fossa (20.04):
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' sudo apt-get update
For Ubuntu Bionic Beaver (18.04):
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' sudo apt-get update
For Ubuntu Xenial Xerus (16.04):
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' sudo apt-get update
As an optional step, if you would like to subscribe to release candidates in addition to production releases, you can add our release candidate repository to your sources.
For Ubuntu Focal Fossa (20.04):
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal-rc main' sudo apt-get update
For Ubuntu Bionic Beaver (18.04):
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic-rc main' sudo apt-get update
For Ubuntu Xenial Xerus (16.04):
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial-rc main' sudo apt-get update
Note that if you add the release candidate repository, you will still need to add the main repository as well, as the release candidate repository does not provide production releases on its own.
As an optional step, we recommend that you also install our kitware-archive-keyring package to ensure that your keyring stays up to date as we rotate our keys. Do the following:
sudo apt-get install kitware-archive-keyring sudo rm /etc/apt/trusted.gpg.d/kitware.gpg
Now you can install any package from our APT repository. As an example, try installing the cmake package:
sudo apt-get install cmake
For all questions and concerns, please contact debian@kitware.com.