Package Repository

Cloudflare's client-side software can be installed on Linux with package managers APT or YUM by following these instructions. However, keep in mind that not all packages may support all operating systems or architectures and that you can check a specific package's page (linked from the homepage) to see what's available. We generally support modern versions of the following distributions:

The keys used to sign these packages were rotated December 2021. If you are seeing one of the following errors please rotate your keys following the instructions below.GPG check FAILEDThe GPG keys listed for the "Cloudflare CentOS Packages" repository are already installed but they are not correct for this package.The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4408F627835B8ACB

Ubuntu

First, install the repository's GPG key:curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpgThen add the repository to your machine's apt sources:echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.listThe supported releases are:

  • Jammy (22.04)
  • Focal (20.04)
  • Bionic (18.04)
  • Xenial (16.04)
Finally, update the APT cache:sudo apt updateand now packages from this repository can be installed directly with APT!

Debian

First, install the repository's GPG key:curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpgThen add the repository to your machine's apt sources:echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.listThe supported releases are:

  • Bullseye (11)
  • Buster (10)
  • Stretch (9)
Finally, update the APT cache:sudo apt updateand now packages from this repository can be installed directly with APT!

Red Hat Enterprise Linux & CentOS

Install the repository with RPM (replace <VERSION> with the release version number):sudo rpm -ivh https://pkg.cloudflareclient.com/cloudflare-release-el<VERSION>.rpmThe supported versions are:

  • 8
Packages from this repository can now be installed directly with YUM!

PGP Key Rotation

This step is only needed if you installed WARP for a package manager before Dec 8, 2021. This step only needs to be run once.

The Cloudflare Client public packaging GPG key was rotated in December of 2021. Users will need to update to the new key, ID 6E2DD2174FA1C3BA. Follow the intructions below to retrieve and install the new key.

apt based OS (Ubuntu/Debian)

First, delete the old pgp keysudo apt-key del 835b8acbThen re-follow the setup instructions above for your distro.

rpm based OS (CentOS/RHEL)

First, delete the old pgp keysudo rpm -e gpg-pubkey-835b8acb-*Then force re-install the RPM for repository setup (replace <VERSION> with the release version number)sudo rpm -ivh --replacepkgs --replacefiles https://pkg.cloudflareclient.com/cloudflare-release-el<VERSION>.rpm