Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

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
add comment
find / -name 'cake*' 

worked for me. Thanks

share|improve this answer
add comment

locate is faster than find.


locate cake


which cake 
share|improve this answer
add comment

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.