After you downloaded libdragon you have to compile and then install it.
So open the terminal, browse to the libdragon dir and type "make", press enter. Then "make install".
Also make sure you have the environment variables that point to the toolchain declared e.g. in /etc/environment before you try to compile anything.
If you have vmware you can download the xubuntu image from this
thread, which already has setup everything.