{"id":257,"date":"2021-07-23T12:26:40","date_gmt":"2021-07-23T12:26:40","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/introduction-to-the-rpm-versions-system\/"},"modified":"2021-07-23T12:26:40","modified_gmt":"2021-07-23T12:26:40","slug":"introduction-to-the-rpm-versions-system","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/introduction-to-the-rpm-versions-system\/","title":{"rendered":"Introduction to the rpm.versions System"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\"><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>The rpm.versions system manages many of the RPMs on your cPanel &#038; WHM server.<\/p>\n<p>The packages that the rpm.versions system manages may include the following types of RPMs:<\/p>\n<ul>\n<li>cPanel-provided RPMs.<\/li>\n<li>Third-party software RPMs.<\/li>\n<li>Custom RPMs that system administrators choose to install.<\/li>\n<\/ul>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<p>The rpm.versions system does not manage the packages for your operating system\u2019s distribution. To install these packages, use WHM\u2019s <em>Install an RPM<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Software &gt;&gt; Install an RPM<\/em>). To change how your server handles updates for these packages, use the <em>Operating System Package Updates<\/em> section of WHM\u2019s <em>Update Preferences<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Server Configuration &gt;&gt; Update Preferences<\/em>).<\/p>\n<\/p><\/div>\n<\/div>\n<h2 id=\"what-is-an-rpm\">What is an RPM?<\/h2>\n<p>RPM stands for RPM Package Manager. In our documentation, the term may refer to any of the following items:<\/p>\n<ul>\n<li>The packaged <code>.rpm<\/code> file (for example, <code>MySQL56-client-5.6.14-1.cp1142.i386.rpm<\/code>).<\/li>\n<li>The software that the package contains (for example, MySQL\u00ae version 5.6).<\/li>\n<li>The package manager itself.<\/li>\n<\/ul>\n<p>For more information about RPMs, visit the RPM website.<\/p>\n<h3 id=\"what-is-an-srpm\">What is an SRPM?<\/h3>\n<p>Source RPMs (SRPMs) contain the source code for each RPM on your system. Unlike RPMs, SRPMs are not compiled. For more information, read our The rpm.versions File documentation.<\/p>\n<h2 id=\"files\">Files<\/h2>\n<p>The rpm.versions system manages RPMs based on the settings that it finds in several YAML files on your server. These files use the following priority:<\/p>\n<ol>\n<li>The <code>\/var\/cpanel\/rpm.versions.d\/local.versions<\/code> file contains settings that system administrators set locally. These settings override all other rpm.versions system settings on the server.<\/li>\n<li>Third-party developers can create other <code>.versions<\/code> files in the <code>\/var\/cpanel\/rpm.versions.d\/<\/code> directory, which override the cPanel-provided defaults.<\/li>\n<li>The <code>\/usr\/local\/cpanel\/etc\/rpm.versions<\/code> file contains cPanel-provided settings, based on your server\u2019s version of cPanel &#038; WHM. All local <code>.versions<\/code> files override these settings.<\/li>\n<\/ol>\n<p>For more information, read our The rpm.versions File, RPM Targets, and How to Override the rpm.versions System documentation.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n        Do <strong>not<\/strong> modify the <code>\/usr\/local\/cpanel\/etc\/rpm.versions<\/code> file for any reason.\n    <\/div>\n<\/div>\n<h2 id=\"customization-options\">Customization options<\/h2>\n<p>In addition to the ability to override settings on a server, you can create and install your own custom RPMs, and modify the RPM installation process. If you wish to modify and replace cPanel-provided RPMs, read our How to Build and Install Custom RPMs documentation.<\/p>\n<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview The rpm.versions system manages many of the RPMs on your cPanel &#038; WHM server. The packages that the rpm.versions system manages may include the following types of RPMs: cPanel-provided RPMs. Third-party software RPMs. Custom RPMs that system administrators choose to install. Important: The rpm.versions system does not manage the packages for your operating system\u2019s &hellip;<\/p>\n","protected":false},"author":1,"featured_media":258,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/257"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=257"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/257\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/258"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}