Installing from source
I am planning on installing Apache (from source) on my Xubuntu desktop. However, I'm not very sure what is the best place to put it. I am aware that /usr/local/src is the usual directory for programs installed from source. However, root privileges are disabled there. Of course, I could become root and do what I need to do, but it seems that if root privileges are disabled there, they are disabled there for a good reason. So what is the right approach here?
1. Install the software to another location (perhaps somewhere under /home/myname).
2. Become root and install it under /usr/local/src.
3. Become root and allow write permissions to /usr/local/src for all users. Then install it as a regular user.
Since this is a home computer, permissions aren't really a huge deal. However, I'm trying to learn best practice as early as possible.
On another note: when I actually go to install Apache, where should I set the destination directory? (When I run ./configure, I get to specify the --prefix=/output/directory option which tells Apache where it should install itself.) Is the usual place for this /usr/local? Or should I place it in /, the root directory?
Thank you in advance for any help.