Obtaining Samba: Difference between revisions

From SambaWiki
(Rewrote "Obtaining Samba".)
m (Fixed typo)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Stable Version (recommended) =
= Stable Version =


Running only stable versions of Samba is recommended.
Always download the Samba sources from [https://www.samba.org/ https://www.samba.org/].

Download the Samba sources only from [https://www.samba.org/ https://www.samba.org/].


Samba always maintains three release series:
Samba always maintains three release series:
Line 10: Line 12:
The Samba team recommends that you always install the latest version of a [[Samba_Release_Planning|supported release]]. This guarantees that your installation contains all available security fixes.
The Samba team recommends that you always install the latest version of a [[Samba_Release_Planning|supported release]]. This guarantees that your installation contains all available security fixes.


In case you discover any problem, please update your installation to the latest version of the [[Samba_Release_Planning#Current_Stable_Release|current stable]] release before. This ensures that the problem has not been fixed in the meanti
In case you discover any problem, please update your installation to the latest version of the [[Samba_Release_Planning#Current_Stable_Release|current stable]] release before. This ensures that the problem has not been fixed in the meantime and reduces duplicate bug reports and unnecessary questions on the [https://lists.samba.org/mailman/listinfo/samba Samba Mailing List].
me and reduces duplicate bug reports and unnecessary questions on the [https://lists.samba.org/mailman/listinfo/samba Samba Mailing List].


For further information about the release planning and the Samba life cycle, see [[Samba_Release_Planning|Samba Release Planning]].
For further information about the release planning and the Samba life cycle, see [[Samba_Release_Planning|Samba Release Planning]].
Line 21: Line 22:
= Development Versions =
= Development Versions =


{{Imbox
'''Warning: Never install a development version in a production environment. It can contain untested features, cause damages and data! Use development version only for testing purposes!'''
| type = warning
| text = Never run a development version in a production environment. They contain untested features that can cause damages and data loss. Use development version only for testing purposes.
}}





Line 28: Line 33:




The "samba-master" branch contains the source code of the [[Samba_Release_Planning#Upcoming_Release|next release series]]. To download, run:
The <code>samba-master</code> branch contains the source code of the [[Samba_Release_Planning#Upcoming_Release|next release series]]. To download:


$ git clone git://git.samba.org/samba.git samba-master
$ git clone git://git.samba.org/samba.git samba-master
Line 36: Line 41:
== Development Version of a Specific Branch ==
== Development Version of a Specific Branch ==


The "v*-test" branches contain the latest fixes and enhancements since the last release of the version source tree.
The <code>v*-test</code> branches contain the latest fixes and enhancements since the last release of the version source tree.


For example, to clone the latest development branch for Samba 4.5 using the git protocol, run:
For example, to clone the latest development branch for Samba 4.5 using the git protocol:


$ git clone -b v4-5-test git://git.samba.org/samba.git samba-v4-5-test
$ git clone -b v4-5-test git://git.samba.org/samba.git samba-v4-5-test


To clone the same branch using the http protocol, run:
To clone the same branch using the HTTP protocol:


$ git clone -b v4-5-test http://git.samba.org/samba.git samba-v4-5-test
$ git clone -b v4-5-test http://git.samba.org/samba.git samba-v4-5-test
Line 50: Line 55:
== Updating a Local Git Repository ==
== Updating a Local Git Repository ==


To update a local cloned repository, run from in the source directory:
To update a local cloned repository, run in the source directory:


$ git pull
$ git pull

Latest revision as of 20:16, 2 November 2016

Stable Version

Running only stable versions of Samba is recommended.

Download the Samba sources only from https://www.samba.org/.

Samba always maintains three release series:

The Samba team recommends that you always install the latest version of a supported release. This guarantees that your installation contains all available security fixes.

In case you discover any problem, please update your installation to the latest version of the current stable release before. This ensures that the problem has not been fixed in the meantime and reduces duplicate bug reports and unnecessary questions on the Samba Mailing List.

For further information about the release planning and the Samba life cycle, see Samba Release Planning.



Development Versions



The samba-master Branch

The samba-master branch contains the source code of the next release series. To download:

$ git clone git://git.samba.org/samba.git samba-master


Development Version of a Specific Branch

The v*-test branches contain the latest fixes and enhancements since the last release of the version source tree.

For example, to clone the latest development branch for Samba 4.5 using the git protocol:

$ git clone -b v4-5-test git://git.samba.org/samba.git samba-v4-5-test

To clone the same branch using the HTTP protocol:

$ git clone -b v4-5-test http://git.samba.org/samba.git samba-v4-5-test


Updating a Local Git Repository

To update a local cloned repository, run in the source directory:

$ git pull