LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Finding a directory from the shell (https://www.linuxquestions.org/questions/linux-newbie-8/finding-a-directory-from-the-shell-445028/)

hemlockz 05-15-2006 11:22 AM

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?

nilleso 05-15-2006 11:25 AM

try
locate uw-imapd
or
find / -name uw-imapd

cheers:)

alienmagic 05-15-2006 11:35 AM

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.