You can also use checkinstall to make the sources into a package and install them:

https://help.ubuntu.com/community/CheckInstall