I can relate to acronyms and abbreviations much more readily when I actually know how they were derived. It is oftn pssble to wrk out wht an abrvtion means if you know the the root words behind it....
What is the rationale for the "unix system resources", or /usr directory, as described here, which duplicates many of the directory names under the root directory /? My purpose: I'm installing Ora...
This is a part where the FHS is slightly self-contradictory, as /usr is defined to be read-only, but /usr/local needs to be read-write for local installation of software to succeed. The SVR4 file system standard, which was the FHS' main source of inspiration, recommends avoiding /usr/local and using /opt instead to overcome this issue.
124 /usr/local/bin is for programs that a normal user may run. The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr.
You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I get it? Instead, you can save this post to reference later.
As part of this change, to work around some potential package management problems, these <x>.usr-is-merged directories are created. M4: Protective diversions for aliasing links For each of the aliasing symbolic links, we can introduce a diversion that redirects it to some unimportant location.
To also come back to what you tried first, the shebang line #!/usr/bin python3 is of course wrong. It tries to execute the file /usr/bin with python3 and the filename of your script as arguments. This must obviously fail because /usr/bin is a directory and no executable file.
You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. What's reputation and how do I get it? Instead, you can save this post to reference later.
I've read that it's now recommended not to trust these keys globally but just for the packages they sign. So, the signed-by makes sense to keep and rather put the key under /usr/share/keyrings
Note that the quote mentions the /usr directory should be read-only and not modifiable by programs, which applies to /usr/lib because it contains shared libraries which are critical for proper functionality of applications.