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.

Report bugs#

To report any bugs you find while testing a release candidate, open an issue on the Salt repository on GitHub and write [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:

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:

  1. Use the standard minor install instructions for your operating system. See Manual install directions by operating system.

  2. On the step where you normally import the Salt Project repository key and pin the package to a specific version of Salt, after insert salt_rc/ before the remainder of the file path.

    GPG key change

    The GPG key for the 3006.5 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 curl -fsSL -o /etc/apt/keyrings/salt-archive-keyring-2023.gpg
    echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg] 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
    echo "deb [signed-by=/etc/apt/keyrings/salt-archive-keyring-2023.gpg] 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 -L
sudo sh -P -x python3 git v3007.0rc1

To install a master using Salt bootstrap, use the -M flag. For example:

curl -o -L
sudo sh -P -M -x python3 git v3007.0rc1

If you want to install only a master and not a minion using Salt bootstrap, use the -M and -N flags. For example:

curl -o -L
sudo sh -P -M -N -x python3 git v3007.0rc1

Install using pip#

To install the release candidate using pip from PyPi:

  1. 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++


    • pip
    • Python header libraries
    • C and C++ compilers
  2. 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