Install PDK on RHEL, SLES, or Fedora
After you configure credentials for PDK, you can download, install, and upgrade it.
On this page:
Configure credentials
To download, install, or install PDK, which is stored in a protected repository, you must download authenticated packages using either Puppet Core or Puppet Enterprise (PE) credentials. Use the following steps to add credentials to your repository configuration.
In your /etc/yum.repos.d/puppet8-release.repo file, uncomment the username and password lines.
Edit the username and password to add credentials. Use either Puppet Core or PE credentials.
-
Puppet Core: The string literal
forge-keyas the username and the Puppet Core Forge API key associated with your Puppet Core free or paid user as the password. For more information about the API key, see Purchasing Puppet Core and Accessing Puppet Core for limited use for testing or development. -
PE: The string literal
license-idas the username and your PE License ID as the password. You can find your PE License ID in your PE license file or in the PE console by selecting License from the navigation bar.
Install PDK
Use the following steps to download and install PDK and its dependencies. Make sure you Configure credentials for PDK before updating the package manager. Use the commands appropriate to operating system (OS).
-
Install the Puppet repository package.
-
RHEL 7
Copysudo rpm -Uvh https://yum-puppetcore.puppet.com/public/puppet8-release-el-7.noarch.rpm -
RHEL 8
Copysudo rpm -Uvh https://yum-puppetcore.puppet.com/public/puppet8-release-el-8.noarch.rpm -
RHEL 9
Copysudo rpm -Uvh https://yum-puppetcore.puppet.com/public/puppet8-release-el-9.noarch.rpm -
SUSE Linux Enterprise Server 15
Copysudo rpm -Uvh https://yum-puppetcore.puppet.com/public/puppet8-release-sles-15.noarch.rpm -
Fedora 40
Copysudo rpm -Uvh https://yum-puppetcore.puppet.com/public/puppet8-release-fedora-40.noarch.rpm
-
-
Install the PDK package. Run:
-
Red Hat Enterprise Linux (RHEL) 7
Copy# Before you install, edit /etc/yum.repos.d/puppet8-release.repo
sudo yum install pdk -
Red Hat Enterprise Linux (RHEL) 8 and later
Copy# Before you install, edit /etc/yum.repos.d/puppet8-release.repo
sudo dnf install pdk -
SUSE
Copy# Before you install, edit /etc/yum.repos.d/puppet8-release.repo
sudo zypper install pdk -
Fedora
Copy# Before you install, edit /etc/yum.repos.d/puppet8-release.repo
sudo dnf install pdk
-
-
Open a terminal to re-source your shell profile and make PDK available to your PATH.
Upgrade PDK
To upgrade your PDK installation to the most recent release, Configure credentials for PDK and then run:






