Finding a directory from the shell
How do I find out where apt-get installed packages? I need to configure php --with-imap=path/to/uw-imapd, but I cannot find the installation path. Is there a way to search for a folder? So far I've tried
ls -R | grep -i uw-imapd And sure enough that lists it, but it doesn't list the full path, just the filename. Then i tried all the apt-cache options but the only path it gives me is the remote path of where I downloaded the source from. Where is uw-imapd? |
try
locate uw-imapd or find / -name uw-imapd cheers:) |
Yep, the locate command can be one of your best friends :)
Just make sure that if you run locate right after you install, you do: updatedb as root first, otherwise, it probably won't have been added to the find utilities database yet. |
All times are GMT -5. The time now is 10:37 AM. |