Debian official repository for influxdb2

Hi Biva,

The package in the default Debian repository isn’t actually provided or maintained by InfluxData. It’s built by the Debian Go Maintainers team using the source code in our Git repository. It’s up to them to update it to the latest version (and to provide a new package for influxdb2).

Unfortunately they use an entirely different build system than we do, so it’s not just a matter of them cloning our Git repo and building their own packages. They will need to update their build configurations to get the latest version of InfluxDB’s source code and any dependencies. It’s likely they they simply don’t have the time or know of the demand for them to provide an updated version.

InfluxData does support Debian user directly, by hosting our own APT repository and publishing updated packages there as part of our regular release process. You can add our repository and install InfluxDB from there using the following commands:

wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null
export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null

sudo apt-get update && sudo apt-get install influxdb2

If you’re not familiar with these commands they will:

  1. Download InfluxData’s GPG key, which we use to cryptographically sign all of our packages, so that apt can verify them
  2. Add the InfluxData APT repository to your list of repositories that Debian will check for new packages
  3. Install the latest version of the influxdb2 package. In keeping with Debian’s practices we use a different package name for version 2 because it is a significant change from version 1.
1 Like