Install PDK on Debian or Ubuntu
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.
Add authentication credentials. In your /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf file, uncomment the login 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. Use the commands appropriate to your OS. Make sure you Configure credentials for PDK before updating the package manager.
-
Update the package manager.
-
Debian 10
Copywget https://apt-puppetcore.puppet.com/public/puppet8-release-buster.deb
sudo dpkg -i puppet8-release-buster.deb
# Before you update, edit /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf
sudo apt-get update -
Debian 11
Copywget https://apt-puppetcore.puppet.com/public/puppet8-release-bullseye.deb
sudo dpkg -i puppet8-release-bullseye.deb
# Before you update, edit /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf
sudo apt-get update -
Debian 12
Copywget https://apt-puppetcore.puppet.com/public/puppet8-release-bookworm.deb
sudo dpkg -i puppet8-release-bookworm.debsudo
# Before you update, edit /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf
apt-get update -
Ubuntu 18.04
Copywget https://apt-puppetcore.puppet.com/public/puppet8-release-bionic.deb
sudo dpkg -i puppet8-release-bionic.deb
# Before you update, edit /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf
sudo apt-get update -
Ubuntu 20.04
Copywget https://apt-puppetcore.puppet.com/public/puppet8-release-focal.deb
sudo dpkg -i puppet8-release-focal.deb
# Before you update, edit /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf
sudo apt-get update -
Ubuntu 22.04
Copywget https://apt-puppetcore.puppet.com/public/puppet8-release-jammy.deb
sudo dpkg -i puppet8-release-jammy.deb
# Before you update, edit /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf
sudo apt-get update -
Ubuntu 24.04
Copywget https://apt-puppetcore.puppet.com/public/puppet8-release-noble.deb
sudo dpkg -i puppet8-release-noble.deb
# Before you update, edit /etc/apt/auth.conf.d/apt-puppetcore-puppet.conf
sudo apt-get update
-
-
Install the PDK package. Run:
Copysudo apt-get 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:
sudo apt-get update
sudo apt-get install pdk






