Ubuntu users can install the latest stable version of InfluxDB using the apt-get package manager. For Ubuntu users, you can add the InfluxData repository configuration by using the following commands:

curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb [ arch=amd64 ] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME}  stable" | sudo tee /etc/apt/sources.list.d/influxdb.list

And then to install and start the InfluxDB service:

sudo apt-get update && sudo apt-get install influxdb
sudo service influxdb start

I just add [ arch=amd64 ] to the original command, to make it work. Without it, the apt-get will search for i386 packages too and then give an error.