Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've got a little question on software installation..
when i install any software (whether it is from rpm, source rpm or source)..
do i first need to keep the installer files at any specific place or i can keep them any directory and i can run ("rpm" / "make") command to install the software?
recently i have downloaded mysql's source files and wanna install mysql server. the documents says..after i finish installation; the files will be take places in the following subdirectories:
*Directory* *Contents of directory*
`bin' Client programs and scripts
`include/mysql' Include (header) files
`info' Documentation in Info format
`libexec' The `mysqld' server
`share/mysql' Error message files
`sql-bench' Benchmarks and `crash-me' test
`var' Databases and log files
so; do i need to keep the installer programs of mysql server at any mandatory directory or anywhere of the system?
2. Another thing, what is the recommanded dirctory to keep those installer files? is this "/usr/local/src" ?
Thnx in advance.
Last edited by sixth_sense; 04-20-2004 at 09:09 AM.
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
I think it is just a matter of taste. I set up a /pub directory and in it I have /pub/src, /pub/rpm and /pub/packages (for Slackware packages). I also have a /pub/doc in which I occasionally untar the Linux Documentation Project pdf collection.
On the other hand, depending on how much storage space you have, you could also just delete the source files after compilation. Once you've compiled and installed, the application you installed would probably not need to link back to the directory it was compiled in.
rpm, the 'make install' command etc. all slot the necessary files into place, and you can dump the installer; but you may wish the keep source code around to run 'make uninstall' to remove the compiled app later. You don't need to keep rpms to uninstall.
/usr/local/src is fine - the /usr/local area is for custom stuff and your distribution won't taper with the contents, but I do what Hussar does and make my own directory for keeping a software archive.