Where Apps are Stored on My HDD (like "Program Files")?

Jonathan Kaye jdkaye10 at yahoo.es
Thu May 17 18:53:47 UTC 2007


Jason Moody wrote:

> I am really new to Linux. Ubuntu is the first Linux Distro I've ever
> used. My question is pertaining to Firefox. I'm trying to set it up so
> that when I subscribe to RSS Feeds it will use my reader. But it asks
> where the app is located. (like in Windows "Program Files") I Googled it
> and have been unable to get the answer. I believe it's /usr/lib but I'm
> just not finding it. I'm just wanting to know where the applications I
> install are being put on my hard-drive. Thanks for any replies.
Hi Jason,
>From the command line you can use the command "whereis" (without the
quotes). This finds the binary, source and manual page files for a command.
So, for example,
$ whereis firefox
firefox: /usr/bin/firefox /etc/firefox /usr/lib/firefox /usr/X11R6/bin/firefox /usr/bin/X11/firefox /usr/share/man/man1/firefox.1.gz
$ whereis amarok
amarok: /usr/bin/amarok /usr/lib/amarok /usr/X11R6/bin/amarok /usr/bin/X11/amarok /usr/share/man/man1/amarok.1.gz
The first location listed will usually be the one you want when you need to
specify where an app is located.
Cheers,
Jonathan
-- 
Registerd Linux user #445917 at http://counter.li.org/





More information about the ubuntu-users mailing list