Install a release candidate#
You can make an important contribution to the Salt Project by installing and testing release candidates (RCs) of Salt when they are made available prior to a release. Testing the RC and reporting any bugs or performance issues helps ensure code quality and minimizes disruptions to service when Salt users upgrade their Salt infrastructure.
What is a release candidate (RC)?
Release candidates are early versions of Salt that are released prior to an official Salt release. For LTS releases of Salt, the Salt Project releases two RCs in the months leading up to the official LTS release.
To report any bugs you find while testing a release candidate, open an issue on
the Salt repository on GitHub
[RC] in the issue title. For example:
[RC][BUG] Description of bug.
Install using packages#
RC builds for a few major platforms are available at the Salt repository: https://repo.saltproject.io/salt_rc/
RC builds are typically only available for the latest version of the operating system at the time the RC is available. Older versions of operating systems might not get an RC release.
To install release candidate packages:
Use the standard minor install instructions for your operating system. See Manual install directions by operating system.
On the step where you normally import the Salt Project repository key and pin the package to a specific version of Salt, after
salt_rc/before the remainder of the file path.
GPG key change
The GPG key for the 3006.7 release is now named: SALT-PROJECT-GPG-PUBKEY-2023. You must import the new GPG key before upgrading or your upgrade will fail.
To install the latest RC, run the following commands:
sudo rpm --import https://repo.saltproject.io/salt_rc/salt/py3/redhat/9/x86_64/latest/SALT-PROJECT-GPG-PUBKEY-2023.pub curl -fsSL https://repo.saltproject.io/salt_rc/salt/py3/redhat/9/x86_64/latest.repo | sudo tee /etc/yum.repos.d/salt.repo
sudo curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt_rc/salt/py3/ubuntu/22.04/amd64/latest/SALT-PROJECT-GPG-PUBKEY-2023.gpg echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg] https://repo.saltproject.io/salt_rc/salt/py3/ubuntu/22.04/amd64/latest/ jammy main" | sudo tee /etc/apt/sources.list.d/salt.list
sudo mkdir -p /etc/apt/keyrings sudo curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg https://repo.saltproject.io/salt_rc/salt/py3/debian/11/amd64/latest/SALT-PROJECT-GPG-PUBKEY-2023.gpg echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg] https://repo.saltproject.io/salt_rc/salt/py3/debian/11/amd64/latest/ bullseye main" | sudo tee /etc/apt/sources.list.d/salt.list
Install using bootstrap#
You can install a release candidate of Salt using the Salt bootstrap script.
Run the following command for the latest RC release, using 3007.0rc1 as an example:
curl -o install_salt.sh -L https://bootstrap.saltproject.io sudo sh install_salt.sh -P -x python3 git v3007.0rc1
To install a master using Salt bootstrap, use the
-M flag. For example:
curl -o install_salt.sh -L https://bootstrap.saltproject.io sudo sh install_salt.sh -P -M -x python3 git v3007.0rc1
If you want to install only a master and not a minion using Salt bootstrap, use
-N flags. For example:
curl -o install_salt.sh -L https://bootstrap.saltproject.io sudo sh install_salt.sh -P -M -N -x python3 git v3007.0rc1
Install using pip#
To install the release candidate using pip from PyPi:
Install the build dependencies:
To pip install the latest RC release:
Run the following commands:
sudo yum install python3-pip python3-devel gcc gcc-c++
Run the following commands:
sudo apt-get install python3-pip python3-dev gcc g++
- Python header libraries
- C and C++ compilers
Install Salt using the following command:
sudo pip install salt==$rc_tag_version
To pip install the latest RC release, using 3007.0rc1 as an example:
sudo pip install salt==3007.0rc1