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:

Ubuntu

First, install the repository's GPG key:curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo apt-key add -Then add the repository (replace <RELEASE> with the Ubuntu release name):echo 'deb http://pkg.cloudflareclient.com/ <RELEASE> main' | sudo tee /etc/apt/sources.list.d/cloudflare-client.listFor example,echo 'deb http://pkg.cloudflareclient.com/ focal main' | sudo tee /etc/apt/sources.list.d/cloudflare-client.listThe supported releases are:

  • Focal (20.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 apt-key add -Then add the repository (replace <RELEASE> with the Debian release name):echo 'deb http://pkg.cloudflareclient.com/ <RELEASE> main' | sudo tee /etc/apt/sources.list.d/cloudflare-client.listFor example,echo 'deb http://pkg.cloudflareclient.com/ bullseye 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 http://pkg.cloudflareclient.com/cloudflare-release-el<VERSION>.rpmThe supported versions are:

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