Plank is the dock which features in the very nicely presented Ubuntu distro Elementary linux. I recently switched from Docky as I like Planks simplicity. This is what was required.
Get the latest tar.xz from https://launchpad.net/plank
Install dependencies
sudo apt-get install automake gnome-common intltool pkg-config valac libbamf3-dev libdbusmenu-gtk3-dev libgdk-pixbuf2.0-dev libgee-dev libglib2.0-dev libgtk-3-dev libwnck-3-dev libx11-dev libgee-0.8-dev
Then compile and install
./configure make sudo make install
Lastly run (to update shared libraries)
sudo ldconfig
Lastly if you’re running openbox like I am (a la Crunchbang) add the following to your autostart.sh file
# Plank plank &