Some Linux distributions don't come bundled with the ca-certificates and gnupg2 packages out of the box. If you are using such an image, you first need to install these packages. The complete commands are as follow:
There have been reports of users being unable to download the key from Ubuntu's keyserver using the apt-key command due to firewalls or proxies blocking their requests. If you experience this issue, you may try this alternative approach instead:
Then confirm that the key with the above ID is shown in the output of sudo apt-key list.
The Bintray k6 repositories stopped working May 1st, 2021 and you should switch to our own repositories following the instructions above.
On Debian/Ubuntu you can remove the Bintray repository with:
And on Fedora/CentOS with:
CentOS versions older than 8 don't support the PGP V4 signature we use, so you'll need to disable the verification by installing k6 with: