Salt can be installed via :
salt-bootstrap: a shell script, that can install salt (client and/or master packages) on standard Unix/Linux platform,Download Salt:
curl -o bootstrap_salt.sh -L https://bootstrap.saltstack.comwget -O bootstrap_salt.sh https://bootstrap.saltstack.combootstrap_salt.sh provides many options. Among them executing the script with:
-M flag will install salt-master,-N flag will not install salt-minion package,-A flag can be used to define the salt-master ip.It can be invoked with the version of salt to be installed.
Common pattern are:
sh bootstrap_salt.sh -M -N stable to install a "stable" salt master,sh bootstrap_salt.sh -A <ip> stable to install a "stable" salt minion, with the master IP defined.Official Documentation can be found here.
Latest stable installers can be found here:
Under Ubuntu 16.04
wget -O - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -sudo echo "deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest denial main" > /etc/apt/sources.list.d/saltstack.listapt-get updateIf you wish to install a salt-master run apt-get install salt-master, otherwise apt-get install salt-minion.
Instructions for other OSes can be found here