Hi, I intend to upgrade our Samba AD DC from 4.9 to 4.10 on a CentOS 7 server . On the Wiki page : https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Manually_maintained_Distribution-specific_Package_lists <https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba> the yum command that lists all needed packages includes python3 for RHEL 8 / CentOS 8 , but python2 for RHEL 7 / CentOS7 . It there any reason for that ? Do I have to use python2 because of the CentOS7 server ? Thanks in advance Henri
On Tue, 2020-03-31 at 09:41 +0400, henri transfert via samba wrote:> Hi, > > I intend to upgrade our Samba AD DC from 4.9 to 4.10 on a CentOS 7 > server . > On the Wiki page : >https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Manually_maintained_Distribution-specific_Package_lists> < > https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba > > > > the yum command that lists all needed packages includes python3 for > RHEL 8 > / CentOS 8 , but python2 for RHEL 7 / CentOS7 . > It there any reason for that ? > Do I have to use python2 because of the CentOS7 server ?It is probably more that RHEL8 moved to python3 than anything else. Now that RHEL7 updates have python3 it seems resonable to use that there as well. In the past you had to get it from EPEL. In the long term the reason why we moved to the 'verified package lists' is to avoid this kind of inconsistency (instead, we suggest too many packages, because development != production...). Andrew Bartlett -- Andrew Bartlett https://samba.org/~abartlet/ Authentication Developer, Samba Team https://samba.org Samba Developer, Catalyst IT https://catalyst.net.nz/services/samba
Ok Thank you Andrew So I assume it is reasonable to install all packages listed for the CentOS8 in a CentOS7 server , I already have EPEL repo configured. Our Samba 4.9 AD DC is source compiled and I would like to upgrade by compiling and installing 4.10 . So my other question is : is it possible to have python3 and python2 live together on the same server ? Thanks Le mar. 31 mars 2020 ? 12:41, Andrew Bartlett <abartlet at samba.org> a ?crit :> On Tue, 2020-03-31 at 09:41 +0400, henri transfert via samba wrote: > > Hi, > > > > I intend to upgrade our Samba AD DC from 4.9 to 4.10 on a CentOS 7 > > server . > > On the Wiki page : > > > > https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Manually_maintained_Distribution-specific_Package_lists > > < > > > https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba > > > > > > > the yum command that lists all needed packages includes python3 for > > RHEL 8 > > / CentOS 8 , but python2 for RHEL 7 / CentOS7 . > > It there any reason for that ? > > Do I have to use python2 because of the CentOS7 server ? > > It is probably more that RHEL8 moved to python3 than anything else. > > Now that RHEL7 updates have python3 it seems resonable to use that > there as well. In the past you had to get it from EPEL. > > In the long term the reason why we moved to the 'verified package > lists' is to avoid this kind of inconsistency (instead, we suggest too > many packages, because development != production...). > > Andrew Bartlett > -- > Andrew Bartlett https://samba.org/~abartlet/ > Authentication Developer, Samba Team https://samba.org > Samba Developer, Catalyst IT > https://catalyst.net.nz/services/samba > > > >
Hi Henri, For Samba 4.10, python3 is a pre-requisite. Please note than RHEL7.7+ (and most likely Centos7.7+) do include python3 in their standard repos. Here's what I see on my RHEL7 boxes: # rpm -qa python3\* python3-3.6.8-10.el7.i686 python3-rpm-generators-6-2.el7.noarch python3-setuptools-39.2.0-10.el7.noarch python3-rpm-macros-3-32.el7.noarch python3-pip-9.0.3-7.el7_7.noarch python3-libs-3.6.8-10.el7.i686 python3-3.6.8-10.el7.x86_64 python3-devel-3.6.8-10.el7.x86_64 python3-devel-3.6.8-10.el7.i686 python3-libs-3.6.8-10.el7.x86_64 Those came from the RHEL repos and Centos has them too: https://centos.pkgs.org/7/centos-x86_64/python3-3.6.8-10.el7.x86_64.rpm.html I hope this helps, Vincent On Tue, 31 Mar 2020, henri transfert via samba wrote:> Hi, > > I intend to upgrade our Samba AD DC from 4.9 to 4.10 on a CentOS 7 server . > On the Wiki page : > https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba#Manually_maintained_Distribution-specific_Package_lists > <https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba> > > the yum command that lists all needed packages includes python3 for RHEL 8 > / CentOS 8 , but python2 for RHEL 7 / CentOS7 . > It there any reason for that ? > Do I have to use python2 because of the CentOS7 server ? > > Thanks in advance > > Henri > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >