Installing Performance Co-Pilot

Since Vector depends on version 3.10 or higher, the packages currently available on most Linux distro repositories would not suffice. Until newer versions are available in the repositories, you should be able to install PCP from binary packages made available by the PCP project on Bintray or build it from source.

Binary Packages

Debian-based Systems (Bionic)

To install PCP on newer platforms, you can use the provided package repositories:

$ sudo apt-get update
$ sudo apt-get install -y pcp pcp-webapi libpcp-pmda3-dev libpcp3-dev

Debian-based Systems (Debian, Ubuntu)

To install using the official PCP binaries, first you need to import the repo key:

$ curl '' | sudo apt-key add -

And include the correct repo URLs:

Ubuntu (Trusty):

$ echo "deb trusty main" | sudo tee -a /etc/apt/sources.list

Debian (Jessie):

$ echo "deb jessie main" | sudo tee -a /etc/apt/sources.list

Once that is done, you should be able to update your package list:

$ sudo apt-get update

And install the required PCP packages:

$ sudo apt-get install pcp pcp-webapi

That’s it! Now PCP should be installed and running on your system!

RPM-based Systems (RHEL, CentOS, Fedora)

PCP should already be available in their repositories.

$ yum install pcp

Building from Source

To build PCP from source, get the current version of the source code:

$ git clone

Check that pre-requisites such as libmicrohttpd headers/libraries and pkgconfig are installed.

To automatically install build-time dependencies on a Debian-based distro:

$ apt-get build-dep pcp

To automatically install build-time dependencies on a RedHat-based distro:

$ yum-builddep -y pcp

Next, build and install:

$ cd pcp
$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-webapi
$ make
$ groupadd -r pcp
$ useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp
$ make install

More information on how to build Performance Co-Pilot from source can be found at:

Get Connected