Install Chef Infra Client RC3 using a native installer
The Chef Infra Client native installers provide an efficient way to install the Chef Infra Client on both Debian and RPM-based distributions.
Users can download and install the pre-built .deb or .rpm packages using their existing package management tools, simplifying the deployment process for managing system configurations.
Supported platforms
This install method is supported on Linux x86-64 systems. To install on Windows, use the migration tool.
Prerequisites
This install process has the following prerequisites:
Chef Workstation isn’t installed on the target system.
On Debian-based systems, the dpkg package manager is installed on the target system.
On RPM-based systems, the RPM and either the DNF or Yum package managers are installed on the target system.
For Amazon Linux 2, use the RPM and Yum package managers.
You have a valid Progress Chef License key.
The target system is connected to the internet.
Install Chef Infra Client
To install Chef Infra Client 19, follow these steps:
Download the Chef Infra Client installer.
- Download Debian-based installer
For Debian-based distributions:
Using Wget:
wget -O "chef-infra-client-19.1.rc2_amd64.deb" "https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2_amd64.deb?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=juoMKNP%2BAnq6cV61c%2BIrj2OIhFI%3D&Expires=1756222738"Using curl:
curl -o "chef-infra-client-19.1.rc2_amd64.deb" "https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2_amd64.deb?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=juoMKNP%2BAnq6cV61c%2BIrj2OIhFI%3D&Expires=1756222738"
- Download RPM-based installer
For RPM-based distributions:
Using Wget:
wget -O chef-infra-client-19.1.rc2.amzn2.x86_64.rpm "https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2.amzn2.x86_64.rpm?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=YNL2rOEpPflwG4PPyvIcofHBZ%2Fc%3D&Expires=1756222794"Using curl:
curl -o chef-infra-client-19.1.rc2.amzn2.x86_64.rpm "https://chef-hab-migration-tool-bucket.s3.amazonaws.com/rc2_hab_pkg_chef_client/rc2_installer_folder/chef-infra-client-19.1.rc2.amzn2.x86_64.rpm?AWSAccessKeyId=AKIAW4FPVFT6BIP2EQW7&Signature=YNL2rOEpPflwG4PPyvIcofHBZ%2Fc%3D&Expires=1756222794"
- Download Debian-based installer
Navigate to the directory with the installer
cd /path/to/downloaded/installerInstall the package.
- Install on Debian-based distributions
For Debian-based distributions:
sudo -E dpkg -i chef-infra-client-19.1.rc2_amd64.deb - Install on RPM-based distributions
For RPM-based distributions:
sudo -E dnf install chef-infra-client-19.1.rc2.amzn2.x86_64.rpm -yor:
sudo -E rpm -ivh chef-infra-client-19.1.rc2.amzn2.x86_64.rpm
- Install on Debian-based distributions
Verify the installation:
chef-client --version
Next step
After installing Chef Infra Client, you can test it by running an example cookbook.