Application Installation Directories
Hello Linux Users -
I just got through a Slackware 10.0 installation on my old machine, and I am hoping to set up Apache, PHP, MySQL, but first I have a few questions about installing things on Linux. I tried my best to find answers at already-existing resources, really what I'd like is just some confirmation from some more experienced Linux users.
My first question involves Firefox - I usualy use it on my Win XP pc, so I'd like to add the latest version of it to the Slack box in hopes of making migration smoother. Anyway, I went ahead and downloaded the Firefox .tar.gz file to my desktop, and extracted it to a folder, and typed './firefox-installer' as the installation info told me to do. This brings up an installer menu that has me choose which directory to install to - and this is where I'd like some guidance.
1. As far as I can tell, the proper place to point this installer is the /usr/bin/ directory, so that root and regular users can access the program. Does this seem correct?
2. Throughout the process of downloading and the start of the installation, I was using the root account - would this be considered the "proper" way to do proceed, or would it be better to do it in my user account and then switch to root with 'su'?
Finally I plan to install Apache, PHP, and MySQL, so I've already read up on the basic installation procedure for each package. At the most simplified, it's a matter of extracting the directory from the .tar.gz, and then using the ./configure, make, make install sequence. Just one more thing I'm wondering about that procedure.
3. Is it at all important where I keep the source directory during install, and should I keep that source after the make install step?
Sorry for such a long first post, hopefully I can get this cleared up quicly, or somebody can point me to a good resource. Thanks in advance for any input offered.