0

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

Magellan
  • 4,431
  • 3
  • 29
  • 53
user50946
  • 473
  • 2
  • 7
  • 18

3 Answers3

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
chrishiestand
  • 974
  • 12
  • 23
0
find / -name 'cake*' 

worked for me.

Aaron Hall
  • 296
  • 3
  • 12
user50946
  • 473
  • 2
  • 7
  • 18
0

locate is faster than find.

updatedb

locate cake

also

which cake 
foocorpluser
  • 448
  • 3
  • 7