LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where are the applications? (https://www.linuxquestions.org/questions/linux-newbie-8/where-are-the-applications-700396/)

EarthAndAllStars 01-27-2009 11:50 PM

Where are the applications?
 
Something that has always vexed me about Linux is trying to figure out where the actual executable file for an application is located. On Windows 99.9% of the time it will be in C:\Program Files\

Where are they in Linux?

linuxlover.chaitanya 01-28-2009 12:00 AM

Usually you will find binaries in /usr/bin and /usr/local/bin.

pixellany 01-28-2009 12:35 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3423612)
Usually you will find binaries in /usr/bin and /usr/local/bin.

and /bin, and /sbin, and /usr/sbin, and in a few other places...

You might be interested in the Linux Filesystem Hierarchy

Things like this on Linux are a mix of Unix tradition, simple logic, and a few less rational elements.

One of many ways to keep your sanity:

Anything you install with the package manager will be in a directory which is in your $PATH variable, and you don't need to be concerned about where the files are. (It will "just work").)

For anything done outside of the package manager, put it in /opt.

linuxlover.chaitanya 01-28-2009 12:58 AM

Sorry about that. Forgot to mention those directories.


All times are GMT -5. The time now is 07:31 PM.