{
    "componentChunkName": "component---src-templates-cli-install-tsx",
    "path": "/cli/docs/1.0.x/en/installation/redhat/",
    "result": {"data":{"navigation":{"nodes":[]},"versions":{"group":[{"fieldValue":"1.0.x"},{"fieldValue":"1.x"},{"fieldValue":"2.0.x"},{"fieldValue":"2.1.x"},{"fieldValue":"2.10.x"},{"fieldValue":"2.11.x"},{"fieldValue":"2.12.x"},{"fieldValue":"2.13.x"},{"fieldValue":"2.14.x"},{"fieldValue":"2.15.x"},{"fieldValue":"2.16.x"},{"fieldValue":"2.17.x"},{"fieldValue":"2.18.x"},{"fieldValue":"2.19.x"},{"fieldValue":"2.2.x"},{"fieldValue":"2.20.x"},{"fieldValue":"2.21.x"},{"fieldValue":"2.22.x"},{"fieldValue":"2.23.x"},{"fieldValue":"2.24.x"},{"fieldValue":"2.25.x"},{"fieldValue":"2.26.x"},{"fieldValue":"2.27.x"},{"fieldValue":"2.28.x"},{"fieldValue":"2.29.x"},{"fieldValue":"2.3.x"},{"fieldValue":"2.30.x"},{"fieldValue":"2.31.x"},{"fieldValue":"2.32.x"},{"fieldValue":"2.33.x"},{"fieldValue":"2.34.x"},{"fieldValue":"2.35.x"},{"fieldValue":"2.36.x"},{"fieldValue":"2.37.x"},{"fieldValue":"2.38.x"},{"fieldValue":"2.39.x"},{"fieldValue":"2.4.x"},{"fieldValue":"2.40.x"},{"fieldValue":"2.41.x"},{"fieldValue":"2.42.x"},{"fieldValue":"2.43.x"},{"fieldValue":"2.44.x"},{"fieldValue":"2.45.x"},{"fieldValue":"2.46.x"},{"fieldValue":"2.47.x"},{"fieldValue":"2.48.x"},{"fieldValue":"2.5.x"},{"fieldValue":"2.6.x"},{"fieldValue":"2.7.x"},{"fieldValue":"2.8.x"},{"fieldValue":"2.9.x"},{"fieldValue":"3.0.x"},{"fieldValue":"3.1.x"},{"fieldValue":"3.10.x"},{"fieldValue":"3.11.x"},{"fieldValue":"3.2.x"},{"fieldValue":"3.3.x"},{"fieldValue":"3.4.x"},{"fieldValue":"3.5.x"},{"fieldValue":"3.6.x"},{"fieldValue":"3.7.x"},{"fieldValue":"3.8.x"},{"fieldValue":"3.9.x"}]},"languages":{"group":[{"fieldValue":"en"}]},"cliReleases":{"nodes":[{"tag":"1.0.3"},{"tag":"1.0.2"},{"tag":"1.0.1"},{"tag":"1.0.0"}]},"markdownRemark":{"html":"<h2 id=\"quickstart\" style=\"position:relative;\"><a href=\"#quickstart\" aria-label=\"quickstart permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Quickstart</h2>\n<p>The following code block will configure a yum repository for scm-manager and install it.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">cat</span> <span class=\"token operator\">&lt;&lt;</span> <span class=\"token string\">EOF<span class=\"token bash punctuation\"> <span class=\"token operator\">|</span> <span class=\"token function\">sudo</span> <span class=\"token function\">tee</span> /etc/yum.repos.d/SCM-Manager.repo</span>\n[scm-manager]\nname=SCM-Manager Repository\nbaseurl=https://packages.scm-manager.org/repository/yum-v2-releases/\nenabled=1\ngpgcheck=1\npriority=1\ngpgkey=file:///etc/pki/rpm-gpg/SCM-Manager\nEOF</span>\n<span class=\"token function\">sudo</span> <span class=\"token function\">curl</span> <span class=\"token parameter variable\">-o</span> /etc/pki/rpm-gpg/SCM-Manager https://packages.scm-manager.org/repository/keys/gpg/oss-cloudogu-com.pub\n<span class=\"token function\">sudo</span> yum <span class=\"token function\">install</span> scm-cli</code></pre></div>\n<h2 id=\"detailed-installation\" style=\"position:relative;\"><a href=\"#detailed-installation\" aria-label=\"detailed installation permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Detailed installation</h2>\n<p>To install SCM-Manager as a redhat package (.rpm), we have to configure a yum repository.\nCreate a file at <code class=\"language-text\">/etc/yum.repos.d/SCM-Manager.repo</code> with the following content:</p>\n<div class=\"gatsby-highlight\" data-language=\"ini\"><pre class=\"language-ini\"><code class=\"language-ini\"><span class=\"token section\"><span class=\"token punctuation\">[</span><span class=\"token section-name selector\">scm-manager</span><span class=\"token punctuation\">]</span></span>\n<span class=\"token key attr-name\">name</span><span class=\"token punctuation\">=</span><span class=\"token value attr-value\">SCM-Manager Repository</span>\n<span class=\"token key attr-name\">baseurl</span><span class=\"token punctuation\">=</span><span class=\"token value attr-value\">https://packages.scm-manager.org/repository/yum-v2-releases/</span>\n<span class=\"token key attr-name\">enabled</span><span class=\"token punctuation\">=</span><span class=\"token value attr-value\">1</span>\n<span class=\"token key attr-name\">gpgcheck</span><span class=\"token punctuation\">=</span><span class=\"token value attr-value\">1</span>\n<span class=\"token key attr-name\">priority</span><span class=\"token punctuation\">=</span><span class=\"token value attr-value\">1</span>\n<span class=\"token key attr-name\">gpgkey</span><span class=\"token punctuation\">=</span><span class=\"token value attr-value\">file:///etc/pki/rpm-gpg/SCM-Manager</span></code></pre></div>\n<p>This will add the yum repository of the scm-manager stable releases to the list of your yum repositories.\nTo ensure the integrity of the rpm packages we have to import the gpg key for the repository.</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">sudo</span> <span class=\"token function\">curl</span> <span class=\"token parameter variable\">-o</span> /etc/pki/rpm-gpg/SCM-Manager https://packages.scm-manager.org/repository/keys/gpg/oss-cloudogu-com.pub</code></pre></div>\n<p>After we have imported the gpg key, we can install scm-manager:</p>\n<div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">sudo</span> yum <span class=\"token function\">install</span> scm-cli</code></pre></div>","description":"Quickstart The following code block will configure a yum repository for scm-manager and install it. Detailed installation To install SCM-Manager as a redhat…","tableOfContents":"<ul>\n<li><a href=\"#quickstart\">Quickstart</a></li>\n<li><a href=\"#detailed-installation\">Detailed installation</a></li>\n</ul>","frontmatter":{"title":"Redhat/CentOS/Fedora","subtitle":"Installation of SCM-Manager CLI Client for RedHat-based linux distributions","displayToc":true,"description":null,"keywords":null,"image":null}}},"pageContext":{"name":"redhat","slug":"/cli/docs/1.0.x/en/installation/redhat/","version":"1.0.x","latestVersion":"1.0.x","latestPageVersion":"1.0.x","language":"en","canonicalPath":"/cli/docs/1.0.x/en/installation/redhat","latestRootPath":"/cli/docs/1.0.x/en/installation/"}},
    "staticQueryHashes": ["1973669194","2742214048","2956773653","698804963"]}