I'm pretty new to compiling software, although I would rather compile my own Samba 4.0.0 server rather than wait for it to become available in the repositories of my distribution. How do you update compiled software. Like if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a way to update to that without starting from scratch and having to rebuild my domain? Thanks
At Thu, 20 Dec 2012 11:20:40 -0700 Zane Zakraisek <doublezane at gmail.com> wrote:> > I'm pretty new to compiling software, although I would rather compile my > own Samba 4.0.0 server rather than wait for it to become available in the > repositories of my distribution. How do you update compiled software. Like > if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a > way to update to that without starting from scratch and having to rebuild > my domain? ThanksMost (all?) Linux distributions include a compiled version of Samba as part of the distriution's software repository. Check to see what your distribution makes available. -- Robert Heller -- 978-544-6933 / heller at deepsoft.com Deepwoods Software -- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/25/2012 04:37 PM, Zane Zakraisek wrote:> I'm pretty new to compiling software, although I would rather > compile my own Samba 4.0.0 server rather than wait for it to become > available in the repositories of my distribution. How do you update > compiled software. Like if I compile and install Samba 4.0.0, and > then 4.0.1 comes out, Is there a way to update to that without > starting from scratch and having to rebuild my domain? ThanksI've not used Samba since the 3.0 days actually, but the "make install" process would upgrade an install in place. I believe it could revert to the previous version too by unrenaming all of the old files. - -- - ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/EI-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDaYPUACgkQmb+gadEcsb63pwCcC4k8/5StqSQuMbpj9fv3tsPs h6wAn1O5XdWDinBwcL4KvCEaoP71f3bd =eISi -----END PGP SIGNATURE-----
On Thu, 2012-12-20 at 11:20 -0700, Zane Zakraisek wrote:> I'm pretty new to compiling software, although I would rather compile my > own Samba 4.0.0 server rather than wait for it to become available in the > repositories of my distribution. How do you update compiled software. Like > if I compile and install Samba 4.0.0, and then 4.0.1 comes out, Is there a > way to update to that without starting from scratch and having to rebuild > my domain? ThanksJust installing it on top works most of the time. If you have problems, remove the binaries (.so files and files in bin and sbin) and the re-install. We handle reading and using the sam.ldb and other files in private/ (and elsewhere) from older versions as a natural part of running the updated version. The WHATSNEW suggests a dbcheck command that can be very helpful. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org