releasecandidate.rst 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. :orphan:
  2. .. _release-candidate:
  3. ===========================================
  4. Installing/Testing a Salt Release Candidate
  5. ===========================================
  6. It's time for a new feature release of Salt! Follow the instructions below to
  7. install the latest release candidate of Salt, and try :ref:`all the shiny new
  8. features <release-2018-3-0>`! Be sure to report any bugs you find on `Github
  9. <https://github.com/saltstack/salt/issues/new/>`_.
  10. Installing Using Packages
  11. =========================
  12. Builds for a few platforms are available as part of the RC at https://repo.saltstack.com/salt_rc/.
  13. .. note::
  14. For RHEL and Ubuntu, Follow the instructions on
  15. https://repo.saltstack.com/, but insert ``salt_rc/`` into the URL between
  16. the hostname and the remainder of the path. For example:
  17. .. code-block:: bash
  18. baseurl=https://repo.saltstack.com/salt_rc/yum/redhat/$releasever/$basearch/
  19. .. code-block:: none
  20. deb http://repo.saltstack.com/salt_rc/apt/ubuntu/14.04/amd64 jessie main
  21. Available builds:
  22. - Ubuntu16
  23. - Redhat7
  24. - Windows
  25. .. FreeBSD
  26. Installing Using Bootstrap
  27. ==========================
  28. You can install a release candidate of Salt using `Salt Bootstrap
  29. <https://github.com/saltstack/salt-bootstrap/>`_:
  30. .. code-block:: bash
  31. curl -o install_salt.sh -L https://bootstrap.saltstack.com
  32. sudo sh install_salt.sh -P git v2018.3.0rc1
  33. If you want to also install a master using Salt Bootstrap, use the ``-M`` flag:
  34. .. code-block:: bash
  35. curl -o install_salt.sh -L https://bootstrap.saltstack.com
  36. sudo sh install_salt.sh -P -M git v2018.3.0rc1
  37. If you want to install only a master and not a minion using Salt Bootstrap, use
  38. the ``-M`` and ``-N`` flags:
  39. .. code-block:: bash
  40. curl -o install_salt.sh -L https://bootstrap.saltstack.com
  41. sudo sh install_salt.sh -P -M -N git v2018.3.0rc1
  42. Installing Using PyPI
  43. =====================
  44. Installing from the `source archive
  45. <https://pypi.python.org/pypi?:action=display&name=salt&version=2018.3.0rc1>`_ on
  46. `PyPI <https://pypi.python.org/pypi>`_ is fairly straightforward.
  47. .. note::
  48. On RHEL derivatives you also need to install the ``epel-release`` package
  49. first.
  50. .. code-block:: bash
  51. sudo yum install epel-release
  52. First install the build dependencies.
  53. - Debian-based systems:
  54. .. code-block:: bash
  55. sudo apt-get install python-pip python-dev gcc g++
  56. - RedHat-based systems:
  57. .. code-block:: bash
  58. sudo yum install python-pip python-devel gcc gcc-c++
  59. - other systems:
  60. You will need to install:
  61. - pip
  62. - python header libraries
  63. - C and C++ compilers
  64. Then install salt using the following command:
  65. .. code-block:: bash
  66. sudo pip install salt==2018.3.0rc1