The easiest way to do this is to add the InfluxData repos:
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
You may or may not need to also run sudo apt-get update && sudo apt-get install apt-transport-https in order to be able to read the https repo.
From then on a simple apt-get install telegraf (or whatever component you wish to install) will work, and as new releases become available they will be automatically updated via apt-get
Best regards,
dg
