Wednesday, December 11, 2013

Build and install telldus-core on Debian

 Build and install telldus-core from Telldus' Debian source

Building Telldus core from source on Debian Linux.
 Thanks to Itslav

Preparing build environment


sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install cmake libconfuse-dev libftdi-dev help2man

Building telldus-core

# set up debian source to use use the stable version of the Telldus software. This is the source code repository. (There are precompiled sources as well)

sudo nano /etc/apt/sources.list.d/telldus.list
# Enter row below into the file:
deb-src http://download.telldus.com/debian/ stable main

# Fetch and configure public key
wget http://download.telldus.se/debian/telldus-public.key
sudo apt-key add telldus-public.key

sudo apt-get update

sudo apt-get build-dep telldus-core

mkdir -p ~/telldus-temp
cd ~/telldus-temp

sudo apt-get --compile source telldus-core

sudo dpkg --install *.deb

Optionally remove code directory:
cd ; rm ~/telldus-temp

Now there is a tellldus daemon started. (It is here /etc/init.d/telldusd)