<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Install k6 on Grafana Labs</title><link>https://grafana.com/docs/k6/v2.3.x/set-up/install-k6/</link><description>Recent content in Install k6 on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/k6/v2.3.x/set-up/install-k6/index.xml" rel="self" type="application/rss+xml"/><item><title>Troubleshooting</title><link>https://grafana.com/docs/k6/v2.3.x/set-up/install-k6/troubleshooting/</link><pubDate>Mon, 21 Sep 2026 15:16:28 +0000</pubDate><guid>https://grafana.com/docs/k6/v2.3.x/set-up/install-k6/troubleshooting/</guid><content><![CDATA[&lt;h1 id=&#34;troubleshooting&#34;&gt;Troubleshooting&lt;/h1&gt;
&lt;h2 id=&#34;system-lacks-ca-certificates-or-gnupg2&#34;&gt;System lacks ca-certificates or gnupg2&lt;/h2&gt;
&lt;p&gt;Some Linux distributions don&amp;rsquo;t come bundled with the &lt;code&gt;ca-certificates&lt;/code&gt; and &lt;code&gt;gnupg2&lt;/code&gt; packages.
If you use such a distribution, you&amp;rsquo;ll need to install them with:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo apt-get update &amp;amp;&amp;amp; sudo apt-get install -y ca-certificates gnupg2&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This example is for Debian/Ubuntu and derivatives. Consult your distribution&amp;rsquo;s documentation if you use another one.&lt;/p&gt;
&lt;h2 id=&#34;behind-a-firewall-or-proxy&#34;&gt;Behind a firewall or proxy&lt;/h2&gt;
&lt;p&gt;Some users have reported that they can&amp;rsquo;t download the key from Ubuntu&amp;rsquo;s keyserver.
When they run the &lt;code&gt;gpg&lt;/code&gt; command, their firewalls or proxies block their requests to download.
If this issue affects you, you can try this alternative:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;curl -s https://dl.k6.io/key.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/k6-archive-keyring.gpg&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;old-rpm-based-linux-distributions&#34;&gt;Old rpm-based Linux distributions&lt;/h2&gt;
&lt;p&gt;Distributions like Amazon Linux 2 and CentOS before version 8 don&amp;rsquo;t support the PGP V4 signature we use.
You&amp;rsquo;ll need to disable the verification when you install k6:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;Bash&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-bash&#34;&gt;sudo yum install --nogpgcheck k6&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="troubleshooting">Troubleshooting&lt;/h1>
&lt;h2 id="system-lacks-ca-certificates-or-gnupg2">System lacks ca-certificates or gnupg2&lt;/h2>
&lt;p>Some Linux distributions don&amp;rsquo;t come bundled with the &lt;code>ca-certificates&lt;/code> and &lt;code>gnupg2&lt;/code> packages.
If you use such a distribution, you&amp;rsquo;ll need to install them with:&lt;/p></description></item></channel></rss>