How to add Influx 2.0 in my apt repo?

Hi,

I’m new to the linux world…, and need help with the following:

Previously I could apt update -> apt upgrade to upgrade to the newest version of influx (pre v2).
How can I add v2 to my ubuntu repository?

Thanks

Anyone with information about this?


Thanks for the reply, but I can’t find any information about adding influx 2 in my apt repo.
For example, in this link: https://docs.influxdata.com/influxdb/v1.8/introduction/install/ you can add the repo to apt.

I am currently running influx 2.0.1 and In /etc/apt/sources.list.d/influxdb.list I have:
deb https://repos.influxdata.com/ubuntu focal stable
Running apt update and apt upgrade it won’t upgrade to 2.0.2.