I like to try out new software now and again and sometimes it's not available in binary form for my operating system(s). I use Ubuntu and Debian most of the time.
I would like to learn how to compile software
in a clean way and be able to manage it without ending up with a computer full of files all over my system that have no business there. Basically Install/Remove without package management that wont mess up my system.
So I'm looking for online books, guides, tutorials to go through, just learn it all the way.
And maybe offline books later, so I welcome them also. Debian/Ubuntu specific material and possibly some integration with APT (making APT aware) if available would be really cool.
Right now I know how to download, unzip, install dependencies and do ./configure, make, make install. Nothing else really. Hope I'm being clear enough.
Now can someone help by pointing out the material to study?