LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2006, 12:22 PM   #1
hemlockz
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Rep: Reputation: 0
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?
 
Old 05-15-2006, 12:25 PM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
try
locate uw-imapd
or
find / -name uw-imapd

cheers
 
Old 05-15-2006, 12:35 PM   #3
alienmagic
Member
 
Registered: Feb 2006
Distribution: Slackware 10.2, (2.6.16.16), FC 5
Posts: 109

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script: delete all directories named directory.# except directory.N brian0918 Programming 3 07-13-2005 07:54 PM
Finding a shell script une Programming 5 01-26-2005 06:23 AM
Finding a shell script une Linux - General 2 01-26-2005 02:33 AM
finding the directory... wrongman Debian 3 05-06-2004 12:26 PM
Finding size of a directory chrisk5527 Linux - General 2 12-30-2003 09:49 AM


All times are GMT -5. The time now is 10:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration