Summary
You have two options for installing Samba, either download the source code and compile it yourself, or obtain a binary-only release if it is available for your platform. Samba 2.2 has many new configuration options for compiling from source. When you upgrade an existing Samba installation, it is important to make sure that certain files, listed in Tables 3.1 and 3.2, are maintained across the upgrade.
In its simplest form, compiling Samba is a process of
root# ./configure root# make root# make install
Using a default installation, all of the Samba binaries and related files are stored in /usr/local/samba/. However, vendors may choose do place things in different locations for their binary packages.