Author Topic: Central Programs Folder?  (Read 602 times)

billy_gates

  • Member
  • **
  • Posts: 801
  • Kudos: 0
    • http://www.skinner.com/jeffberg
Central Programs Folder?
« on: 28 December 2002, 10:38 »
Is there a central Programs folder like Windows and Mac have.  If not, are there any distros that have a  similar Applications folder setup to OSX?  I just find all of this Linux stuff so complicated.

solo

  • Member
  • **
  • Posts: 344
  • Kudos: 1
    • http://www.komodolinux.org/
Central Programs Folder?
« Reply #1 on: 28 December 2002, 11:34 »
well all distros using gnome or kde have a user menu (ie the K menu in KDE and the foot menu in gnome), but if you really want to see the actual program file in a file manager programs can be located in /bin, /usr/bin, /usr/[gnome|kde|X11R6]/bin, /usr/local/bin, /sbin and /usr/sbin (when logged in as the root user). There may be others. A good way to know exactly where linux searches for your programs is to pull up a terminal emulator and type 'echo $PATH'. Or... you could use the user menus.
Komodoware, moving Linux to your desktop.
http://www.komodoware.com/

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
Central Programs Folder?
« Reply #2 on: 28 December 2002, 11:35 »
well ive never totally understood the whole program folder thing i tihnk it was fucked a few years a go. anyway. most program executables reside in different parts of the /usr directory. ill leave it up to a more advanced user to explain what each subdirectory means (cos quite frankly i dont have a clue)

[ December 28, 2002: Message edited by: Got Doogee? ]


solo

  • Member
  • **
  • Posts: 344
  • Kudos: 1
    • http://www.komodolinux.org/
Central Programs Folder?
« Reply #3 on: 28 December 2002, 11:48 »
oh yeah, good point doogee i didnt really explain why they are in so many directories   .

i assume you understand the way linux and unix do directories..
In windows (and i think Mac, though i have little experience) files used by programs are organized by the program that needs them, like \program files\program\file. In linux, things are much more category based. Like for instance program Z has a configuration file, a program file, and a set of documentation files. when program Z installs, it puts the configuration file in the configuration directory (i.e. the appropriate /etc directory; can be /etc,/usr/etc, err etc.), it puts the program file in the program file directory (i.e. the appropriate /bin directory; can be /bin,/usr/bin, etc) and the set of documentation files in a sub directory of the documentation files directory (like /usr/doc/program-Z). The reason we have more than one say program file directory is another level of organization based on categories. the top level set of directories is used most commonly for very important files, for instance programs needed for linux to perform tasks like mounting cd's, checking the file system etc. Those are usually located in /bin. Then there are less important programs, programs that aren't essential for running the computer [that doesnt mean they arent important..].  This could be your extra text editors, and the likes. Programs that provide services that either need permissions for all the files or programs that should only be run with the permission of the system administrator (remember linux and UNIX in general is designed for many users to be active at one time) are typically put in /sbin or /usr/sbin, depending on how essential they are. This is your standard place for programs like apache (/usr/sbin/httpd) and SSHd are. All of the above applies to configuration directories and the likes. Long winded, but hopefully helpful  
Komodoware, moving Linux to your desktop.
http://www.komodoware.com/

billy_gates

  • Member
  • **
  • Posts: 801
  • Kudos: 0
    • http://www.skinner.com/jeffberg
Central Programs Folder?
« Reply #4 on: 28 December 2002, 11:54 »
wow! that was informative, so informative that I almost wished I hadn;t asked the question.  Also it provided me with no help.  Its not your guyses fault.  I think the way I worded this question was to complain not to have others help me.  I think they thing I am trying to get help with is not possible to say it is just a gripe.  Thanks for wasting your time on my useless question and I'm sorry I wasted your time.  I owe you guys one.

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Central Programs Folder?
« Reply #5 on: 28 December 2002, 12:53 »
$ whereis programname
Contains scenes of mild peril.