The following contains extracts from Redhat's SID page.
Type the following command to login to the CVS server:
$ cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src login
You will be prompted for a password which is anoncvs. You only need to perform this login the first time you access the SID CVS repository. The password is saved in the file .cvspass in your home directory for use in subsequent sessions.
It is recommended that you use different directory trees for the anonymous CVS sources and for full releases of SID. Create a new directory for the check out and change to that directory:
$ mkdir ~/sid-cvs
$ cd ~/sid-cvs
Now type:
$ cvs -z 9 -d :pserver:anoncvs@sources.redhat.com:/cvs/src co sid
This command should initiate a connection to the CVS server and check out the latest version of SID. It may take quite a while.
If you are unable to use CVS, automated CVS snapshots are available here; obtain the latest one of these and unzip it into the sid-cvs directory.
Having checked out the source, you should see a single src subdirectory in the sid-cvs directory. Create a build directory alongside this:
$ mkdir build
$ cd build
Login as superuser and run configure to produce the build tree. I am assuming here that /opt/sid is the required destination directory for all files:
$ su
# ../src/configure --prefix=/opt/sid --exec-prefix=/opt/sid 2>&1 | tee configure.out
Now make all the files and install them:
# cd ~/sid-cvs/build
# make all install
Note that this may take a very long time (hours).
Add the executable directory to the path:
$ export PATH=/opt/sid/bin:$PATH
This line should also be added to your shell initialisation script (.bashrc, or .bash_profile)