Elias Pereira
2016-Sep-27 16:16 UTC
[Samba] Upgrading samba from source over debian packages
Hello, We have samba 4.1.17 installed via debian package and would like to install the latest version 4.5 from source. It's possible to perform this upgrade over the packages? If so, what the paths used in the installation via debian packages? -- Elias Pereira
Marc Muehlfeld
2016-Sep-27 18:31 UTC
[Samba] Upgrading samba from source over debian packages
Hello Elias, Am 27.09.2016 um 18:16 schrieb Elias Pereira via samba:> We have samba 4.1.17 installed via debian package and would like to install > the latest version 4.5 from source. > > It's possible to perform this upgrade over the packages? If so, what the > paths used in the installation via debian packages?https://wiki.samba.org/index.php/Build_Samba_from_Source#Viewing_Built_Options_of_an_Existing_Installation Pass the paths as options to the 'configure' script. See --help. Don't forget to uninstall the packages before running 'make install'. Otherwise you risk that a Debian update overrides your setup or getting dependency problems. Regards, Marc
Elias Pereira
2016-Sep-27 19:14 UTC
[Samba] Upgrading samba from source over debian packages
Hello Marc, Thanks for the fast answer!!! Don't forget to uninstall the packages before running 'make install'.> Otherwise you risk that a Debian update overrides your setup or getting > dependency problems.Maybe, it would be nice to put on the wiki that step regarding uninstall the old packages version. I believe that a good portion of users unaware that step. :) On Tue, Sep 27, 2016 at 3:31 PM, Marc Muehlfeld <mmuehlfeld at samba.org> wrote:> Hello Elias, > > Am 27.09.2016 um 18:16 schrieb Elias Pereira via samba: > > We have samba 4.1.17 installed via debian package and would like to > install > > the latest version 4.5 from source. > > > > It's possible to perform this upgrade over the packages? If so, what the > > paths used in the installation via debian packages? > > > https://wiki.samba.org/index.php/Build_Samba_from_Source# > Viewing_Built_Options_of_an_Existing_Installation > > Pass the paths as options to the 'configure' script. See --help. > > Don't forget to uninstall the packages before running 'make install'. > Otherwise you risk that a Debian update overrides your setup or getting > dependency problems. > > > Regards, > Marc >-- Elias Pereira
Bob of Donelson Trophy
2016-Sep-27 21:17 UTC
[Samba] Upgrading samba from source over debian packages
On 2016-09-27 13:31, Marc Muehlfeld via samba wrote:> Hello Elias, > > Am 27.09.2016 um 18:16 schrieb Elias Pereira via samba: > >> We have samba 4.1.17 installed via debian package and would like to install >> the latest version 4.5 from source. >> >> It's possible to perform this upgrade over the packages? If so, what the >> paths used in the installation via debian packages? > > https://wiki.samba.org/index.php/Build_Samba_from_Source#Viewing_Built_Options_of_an_Existing_Installation > > Pass the paths as options to the 'configure' script. See --help. > > Don't forget to uninstall the packages before running 'make install'. > Otherwise you risk that a Debian update overrides your setup or getting > dependency problems. > > Regards, > MarcWhen it comes to compiling from source I have just begun learning the "ins and outs" as they say. Now . . . here is a real newbie question, sorry but I don't know. What happens when said distro comes along with their own upgrade? Let's just say the distro comes along with version 4.4.5 upgrade, for example, is my version 4.5.0 from source installed to their paths ignored? As in left alone . . . as in their upgrade does not "mess up" my compiled installation? -- _______________________________ Bob Wooden of Donelson Trophy