LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 04-20-2004, 09:06 AM   #1
sixth_sense
Member
 
Registered: Mar 2004
Distribution: RedHat
Posts: 99

Rep: Reputation: 15
little question on software installation.


Hi all,

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
`lib/mysql' Libraries
`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.
 
Old 04-20-2004, 03:25 PM   #2
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
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.
 
Old 04-20-2004, 03:43 PM   #3
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation Software for Custom Developed Java/Perl Software donkey123 Linux - Software 0 06-15-2005 05:26 PM
Very General Software Installation Question Rawr101 Linux - Software 2 10-13-2004 09:37 PM
Software Installation magus1ghz Linux - Software 4 02-05-2004 06:53 PM
Software Installation Uchiha sasuke Linux - Software 4 11-01-2003 08:04 PM
Question on installing software and starting software rootlinux Linux - Newbie 5 01-19-2002 10:40 AM


All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration