OSMC and CEC basic setup

Hi guys,

ive got the following setup

Beamer <-- AVR --> Pi2

and i want to ssh into the pi and use a command line command to turn on the Beamer by CEC (avr as well as beamer supports CEC)

I found libCEC but ive got no clue how to get the cow to run.
i just used apt-get install libCEC-dev, but no configuration or something else.

I whould be very happy if you could help me out of this.

Thanks!