The instructions to install zm from a .deb (which would be a nice and easy change

SO here is my quesiton, If I install from a deb package is there a way to define my cgi-bin and webdir? OR can I simply move the zoneminder.pl s to the current directories without "linking apache to zm"? As I haven't seen the scripts (8?) I'm not sure how that would work.
I have a feeling installing from source is really the direction I should go as;
"... ./configure --with-webdir=<your web directory> --with-cgidir=<your cgi directory> where --with-webdir is the directory to which you want to install the PHP files, and --with-cgidir is the directory to which you want to install CGI files. These directories could be /var/www/html/zm and /var/www/cgi-bin for example."
Plus it will be another learning session. If I install from source will I have to install mysql separately and learn that as well? more fun?