Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just did apt-get install cakephp and it installed cake php but I have no idea where the root directory is. How can I find that? I'm using ubuntu 10.10

share|improve this question
dpkg -L cakephp

Or if you want to know which package installed a file, use dpkg -S:

user@host:~$ dpkg -S /usr/share/php/cake/libs
cakephp: /usr/share/php/cake/libs
share|improve this answer

locate is faster than find.


locate cake


which cake 
share|improve this answer
find / -name 'cake*' 

worked for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.