Article 5K9E4 Relevance of location of executables/programs

Relevance of location of executables/programs

by
cyno77
from LinuxQuestions.org on (#5K9E4)
Hi there!

I have a fairly simple question, tho I HV tried to search the internet&uni colleagues for for answers, I HV not gotten a straight one yet.

I guess I am just fairly confused about file location relevance. I am trying to ascertain whether System is affected by/relevance of file "Location" of a program/executable. I have been told to only put certain programs (like those installed through .targz) in certain places. Once a system learns of the location of a program, does it automatically run it from that location, and, is there usually any problem with altering it's location?

Does placing the program in a different location/path mean System cannot find it or will have any problems, say, when opening "Software & Utilities" to open a program? (I realise symlinks must always be changed accordingly if program has been moved).

Whilst I understand the meaning of sbin/bin, or usr and user, (or x32/x64), I don't know if these folders hold any singular, defining qualities for their held programs.(?) I'm sorry but I have long been provoked to ask this question and Never been able to find any "lead" of information on the internet.
Thankyou for your help.latest?d=yIl2AUoC8zA latest?i=C7ZjyUp7PYM:JhxRXmuAHeI:F7zBnMy latest?i=C7ZjyUp7PYM:JhxRXmuAHeI:V_sGLiP latest?d=qj6IDK7rITs latest?i=C7ZjyUp7PYM:JhxRXmuAHeI:gIN9vFwC7ZjyUp7PYM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments