Kitware APT Repository

This is Kitware, Inc.'s third-party APT repository, which we use for hosting our own Debian and Ubuntu packages, such as CMake.

We currently support Ubuntu 16.04 and Ubuntu 18.04 on our repository. To add the repository to your installation, do the following in order:

  1. 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
  2. Obtain a copy of our signing key:

    wget -O - 2>/dev/null | sudo apt-key add -
  3. Add the repository to your sources list and update.

    For Ubuntu Bionic Beaver (18.04):

    sudo apt-add-repository 'deb bionic main'
    sudo apt-get update

    For Ubuntu Xenial Xerus (16.04):

    sudo apt-add-repository 'deb xenial main'
    sudo apt-get update
  4. 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 apt-key --keyring /etc/apt/trusted.gpg del C1F34CDD40CD72DA

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