Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

How to Install Vector on Ubuntu 14

Vector is an on-host performance monitoring framework which exposes hand picked high resolution metrics to every engineer’s browser. More here.

Host machine

PCP Requirements

Vector requires PCP to collect data.


$ sudo apt-get install pkg-config


$ sudo apt-get install flex

Yacc (from Bison package)

$ sudo apt-get install bison


$ sudo apt-get install libmicrohttpd-dev


$ sudo groupadd -r pcp
$ sudo useradd -c "Performance Co-Pilot" -g pcp -d /var/lib/pcp -M -r -s /usr/sbin/nologin pcp

PCP Build & Install

$ git clone git://
# alternative: git clone

$ cd pcp
$ ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --with-rcdir=/etc/init.d
$ make
$ sudo make install

PCP Init

$ sudo service pmcd start
$ sudo service pmwebd start


$ git clone
$ cd vector
$ bower install
$ npm install
$ gulp

Available on http://localhost:8080

Copy link

Utrinque commented Aug 4, 2015

Hi Rictorres,
Running Debian 7.8
Linux Debian-Vector 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux

I was going great guns till I reached PCP Build & Install "make". I recieved the following errors at the end:

make[2]: g++: Command not found
make[2]: *** [pmmgr.o] Error 127
make[1]: *** [default_pcp] Error 2
make[1]: Leaving directory `/home/davisian/pcp/src'
make: *** [default_pcp] Error 2

Can you help resolve this issue.

BR / Utrinque


Copy link

georgepar commented Aug 9, 2015

Hi Utrinque,

You should install the g++ compiler to build the pcp project from source.


Copy link

samof76 commented Dec 8, 2015

At the make step I get the following error

getdate.y: In function ‘LookupWord’:
getdate.y:630:7: error: dereferencing pointer to incomplete type
  lvalp->Meridian = MERam;

Note sure what the issue is!


Copy link

Albert-Walner commented Feb 26, 2016

@ samof76:
I had exactly the same error, this can be solved with the following steps:

  1. Remove the pcp folder and check everything out again, this time clone "git clone" instead of "git clone"
  2. also u have to use exactly the command "./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --localstatedir=/var --with-rcdir=/etc/init.d"
    on other Instructions this "command might look different".


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment