checkout the source and make a tarball from it
svn checkout svn://svn.berlios.de/codeblocks/trunk codeblocks
cd codeblocks
./bootstrap
./configure
make dist
you should now have a file called codeblocks-8.02svnVERSION.tar.gz
where VERSION will be the svn revision you checked out.
Copy this to a flash drive or cd.
At uni:
I had to unpack into /tmp because I didn't have enough disk quota to build it.
tar -xf /path/to/tarball/codeblocks-8.02svnVERSION.tar.gz
cd codeblocks-8.02svnVERSION
./configue --prefix=/home/username/local
make
make install
This will put it in ~/local, the binary will be ~/local/bin/codeblocks. I put that in my path so that I can run all my locally installed stuff the same as everything else.
To do that, at the start of ~/.bashrc put:
export PATH=$PATH:/home/username/local/bin
where username is your actual uni username.