Fedora#

These instructions explain how to install Salt on Fedora operating systems.

Note

Salt packages for Fedora are hosted on the Fedora package repository. Fedora creates its own Salt packages and the Salt Project does not publish separate Salt packages for download.

When you install on Fedora, it always installs the latest release of Salt. Updating the package will install the latest release, even if it is a new major version.

Before you start#

Before installing Salt on your operating system, ensure that you first:

Install Salt on Fedora#

To install Salt on Fedora:

  1. Using the packages on the Fedora repository, install the salt-minion, salt-master, or other Salt components:

    sudo dnf install salt-master
    sudo dnf install salt-minion
    sudo dnf install salt-ssh
    sudo dnf install salt-syndic
    sudo dnf install salt-cloud
    sudo dnf install salt-api
    
  2. Enable and start the services for salt-minion, salt-master, or other Salt components:

    sudo systemctl enable salt-master && sudo systemctl start salt-master
    sudo systemctl enable salt-minion && sudo systemctl start salt-minion
    sudo systemctl enable salt-syndic && sudo systemctl start salt-syndic
    sudo systemctl enable salt-api && sudo systemctl start salt-api
    

    Note

    When you install a onedir version of Salt (3006 and later), Salt installs its own local version of Python and the dependencies needed for the core functionality of Salt.

    After installing a onedir verison of Salt, your system has both a global version of Python at the system level and a local version of Python used by Salt. This architecture change means that the Salt onedir paths for Python are different and you need to change how you install third-party Python dependencies that you use with Salt, including your state files. See Install dependencies for more information.

After installing Salt on Fedora, you need to complete the following post-installation steps: