LinuxQuestions.org
Review your favorite Linux distribution.
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 05-10-2007, 02:01 PM   #1
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Rep: Reputation: 15
where is their base dir?


Hello!

If I install apache2.2,mysql5,php5.1.6 using add/remove GUI on fedora 6, where are their base dir? Thank you very much.
 
Old 05-10-2007, 02:21 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Define base dir.
 
Old 05-10-2007, 02:42 PM   #3
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Original Poster
Rep: Reputation: 15
This is like if I download tar file and install apache, I can use prefix=/usr/local. I can find it later in the base dir /usr/local/apache. But if I use add/remove program to install apache, mysql, php on fedora6, where can I find their base dir? because fedora will download all the files automatically, where does it store all the rpm files in case to reuse it?

thanks.

Last edited by dfw123; 05-10-2007 at 08:29 PM.
 
Old 05-11-2007, 12:19 PM   #4
dfw123
Member
 
Registered: Apr 2007
Posts: 45

Original Poster
Rep: Reputation: 15
anyone can help?
 
Old 05-11-2007, 12:41 PM   #5
axobeauvi
Member
 
Registered: Apr 2003
Posts: 128

Rep: Reputation: 16
query your rpm db for the package
rpm -qa |grep -i yourpackage
then
rpm -ql "the package name returned"
that will list where it's all located on your system
 
Old 05-11-2007, 09:55 PM   #6
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
you can find any file using commands like:
Quote:
locate filename
or
find / -name *php*
cheers
 
  


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
Redhat base and Dedian base linux??? nw53 Linux - Newbie 6 04-29-2007 02:16 PM
Q. moving /bin dir files to /dev dir?? Texas_student Linux - Software 2 03-27-2006 12:42 AM
Share configuratin dir (.dir) for 3 accounts on local computer LiNuXkOlOnIe Linux - Software 5 01-08-2006 04:36 AM
RHEL 4: Webmin 1.22 dont find sendmail base dir.. latino Linux - Networking 0 09-05-2005 01:34 PM
Invalid SSL/TLS toolkit base dir error while compiling Apache 2 basse- Linux - Software 2 03-20-2004 01:23 PM


All times are GMT -5. The time now is 06:30 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