1
0

releasecandidate.rst 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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-2019-2-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. Follow the instructions on https://repo.saltstack.com/,
  15. but insert ``salt_rc/`` into the URL between the hostname
  16. and the remainder of the path.
  17. For Redhat Python 2
  18. .. code-block:: bash
  19. baseurl=https://repo.saltstack.com/salt_rc/yum/redhat/$releasever/$basearch/
  20. For Redhat Python 3
  21. .. code-block:: bash
  22. baseurl=https://repo.saltstack.com/salt_rc/py3/redhat/$releasever/$basearch/
  23. For Ubuntu Python 2
  24. .. code-block:: none
  25. deb http://repo.saltstack.com/salt_rc/apt/ubuntu/18.04/amd64 bionic main
  26. For Ubuntu Python 3
  27. .. code-block:: none
  28. deb http://repo.saltstack.com/salt_rc/py3/ubuntu/18.04/amd64 bionic main
  29. For Debian Python 2
  30. .. code-block:: none
  31. deb http://repo.saltstack.com/salt_rc/apt/debian/9/amd64 stretch main
  32. For Debian Python 3
  33. .. code-block:: none
  34. deb http://repo.saltstack.com/salt_rc/py3/debian/9/amd64 stretch main
  35. Available builds:
  36. - Ubuntu 18
  37. - Debian 9
  38. - Redhat 7
  39. - Windows
  40. - OSX
  41. .. FreeBSD
  42. Installing Using Bootstrap
  43. ==========================
  44. You can install a release candidate of Salt using `Salt Bootstrap
  45. <https://github.com/saltstack/salt-bootstrap/>`_:
  46. .. code-block:: bash
  47. curl -o install_salt.sh -L https://bootstrap.saltstack.com
  48. sudo sh install_salt.sh -P git v2019.2.0rc2
  49. If you want to also install a master using Salt Bootstrap, use the ``-M`` flag:
  50. .. code-block:: bash
  51. curl -o install_salt.sh -L https://bootstrap.saltstack.com
  52. sudo sh install_salt.sh -P -M git v2019.2.0rc2
  53. If you want to install only a master and not a minion using Salt Bootstrap, use
  54. the ``-M`` and ``-N`` flags:
  55. .. code-block:: bash
  56. curl -o install_salt.sh -L https://bootstrap.saltstack.com
  57. sudo sh install_salt.sh -P -M -N git v2019.2.0rc2
  58. Installing Using PyPI
  59. =====================
  60. Installing from the `source archive
  61. <https://pypi.python.org/pypi?:action=display&name=salt&version=2019.2.0rc2>`_ on
  62. `PyPI <https://pypi.python.org/pypi>`_ is fairly straightforward.
  63. .. note::
  64. On RHEL derivatives you also need to install the ``epel-release`` package
  65. first.
  66. .. code-block:: bash
  67. sudo yum install epel-release
  68. First install the build dependencies.
  69. - Debian-based systems:
  70. .. code-block:: bash
  71. sudo apt-get install python-pip python-dev gcc g++
  72. - RedHat-based systems:
  73. .. code-block:: bash
  74. sudo yum install python-pip python-devel gcc gcc-c++
  75. - other systems:
  76. You will need to install:
  77. - pip
  78. - python header libraries
  79. - C and C++ compilers
  80. Then install salt using the following command:
  81. .. code-block:: bash
  82. sudo pip install salt==2019.2.0rc2