Take the 2-minute tour ×
Server Fault is a question and answer site for 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

3 Answers 3

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.

updatedb

locate cake

also

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

worked for me.

share|improve this answer

Your Answer

 
discard

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.