Is there standard/recommended location for an executable to be used by only
a one user?
In my case it should be under /home/richard/ .
But where?
Is there standard/recommended location for an executable to be used by only a one user?
In my case it should be under /home/richard/ .
But where?
TIA
Is there standard/recommended location for an executable to be used by only >> a one user?
In my case it should be under /home/richard/ .
But where?
I'd put it in ~/bin
Stefan
Is there standard/recommended location for an executable to be used by only a one user?
In my case it should be under /home/richard/ .
But where?
I'd put it in ~/bin
Is there standard/recommended location for an executable to be used by only
a one user?
In my case it should be under /home/richard/ .
But where?
Is there standard/recommended location for [...]
The XDG Base Directory Specification recommends [...]
Glad mine is just a computer, not a desktop ;-)
Seriously: that's why I walked away from this desktop craze years
ago. Sure, I still have to have a rough idea of how it works, to
be able to help other people fix their computers, but... my $HOME
is mine.
Hello Richard,
the /etc/skel/.profile add to PATH ~/bin and ~/.local/bin if they exist.
On 03/10/2024 14:51, Richard Owlett wrote:
Is there standard/recommended location for an executable to be used by
only a one user?
In my case it should be under /home/richard/ .
But where?
hth,
Jerome
TIA
On 3 Oct 2024 07:51 -0500, from rowlett@access.net (Richard Owlett):
Is there standard/recommended location for an executable to be used by only a one user?
In my case it should be under /home/richard/ .
But where?
The XDG Base Directory Specification recommends ~/.local/bin for "user-specific executable files".
On 10/03/2024 08:03 AM, Jerome BENOIT wrote:
On 03/10/2024 14:51, Richard Owlett wrote:
Is there standard/recommended location for an executable to be
used by only a one user?
In my case it should be under /home/richard/ .
But where?
the /etc/skel/.profile add to PATH ~/bin and ~/.local/bin if they exist.
That answers a slightly different question.
For my specific case I wish to avoid the use of PATH.
[adding details will only cause confusion]
On 3 Oct 2024 15:40 +0200, from tomas@tuxteam.de:
Is there standard/recommended location for [...]
The XDG Base Directory Specification recommends [...]
Glad mine is just a computer, not a desktop ;-)
Seriously: that's why I walked away from this desktop craze years
ago. Sure, I still have to have a rough idea of how it works, to
be able to help other people fix their computers, but... my $HOME
is mine.
You are free to arrange your files in whatever manner you prefer.
However, OP specifically asked for a "standard/recommended location".
Unlike the other answers I've seen in the thread so far (which are
personal anecdata), my answer provides one such, with references.
On 3 Oct 2024 07:51 -0500, from rowlett@access.net (Richard Owlett):
Is there standard/recommended location for an executable to be used by only >> a one user?
In my case it should be under /home/richard/ .
But where?
The XDG Base Directory Specification recommends ~/.local/bin for "user-specific executable files".
https://specifications.freedesktop.org/basedir-spec/latest/index.html#variables
systemd also recommends that same directory for "executables that
shall appear in the user's $PATH search path".
https://www.freedesktop.org/software/systemd/man/latest/file-hierarchy.html#Home%20Directory
https://www.freedesktop.org/software/systemd/man/latest/file-hierarchy.html#~/.local/bin/
I would say that meets your requirements as stated.
On Thu 03 Oct 2024 at 08:31:08 (-0500), Richard Owlett wrote:
On 10/03/2024 08:03 AM, Jerome BENOIT wrote:
On 03/10/2024 14:51, Richard Owlett wrote:
Is there standard/recommended location for an executable to be
used by only a one user?
In my case it should be under /home/richard/ .
But where?
the /etc/skel/.profile add to PATH ~/bin and ~/.local/bin if they exist.
That answers a slightly different question.
For my specific case I wish to avoid the use of PATH.
[adding details will only cause confusion]
Then obviously you should put it anywhere /except/ in one of those two directories, so that it /won't/ be included in your PATH.
Cheers,
David.
Is there standard/recommended location for an executable to be used by
only a one user?
Is there standard/recommended location for an executable to be used by
only a one user?
In my case it should be under /home/richard/ .
But where?
TIA
On 10/3/24 05:51, Richard Owlett wrote:
Is there standard/recommended location for an executable to be used by
only a one user?
In my case it should be under /home/richard/ .
But where?
TIA
It would help if you told us about the executable and the context for
its use -- e.g. self-contain binary for shell usage, one of several
programs included in a large graphical user interface application suite
that requires a specific desktop environment, etc.
David
On 10/03/2024 06:34 PM, David Christensen wrote:
On 10/3/24 05:51, Richard Owlett wrote:
Is there standard/recommended location for an executable to be usedIt would help if you told us about the executable and the context for
by only a one user?
In my case it should be under /home/richard/ .
But where?
its use -- e.g. self-contain binary for shell usage, one of several
programs included in a large graphical user interface application
suite that requires a specific desktop environment, etc.
<chuckle> If life were only that simple.
This started out with planning to update my PRIMARY system from
32 bit Debian 9 with SeaMonkey 2.49.4
to
64 bit Debian 12 with SeaMonkey 2.53.19
The 32 bit system resembles Topsy. It "just grew".
My goal for the 64 bit system is that it more closely conform to the expectations of Debian.
For some indeterminate time BOTH versions of SeaMonkey *MUST* run on
both the 32 and 64 bit systems.
From a SeaMonkey list I've gotten the needed information to have two incompatible versions coexist. It's a known problem.
So my question in a way becomes "Where do I _not put_ SeaMonkey
executable to avoid future clashes?"
Michael Kjörling referred me to specific sections of https://specifications.freedesktop.org/basedir-spec/latest/index.html
and https://www.freedesktop.org/software/systemd/man/latest/file-hierarchy.html . I needed the introductory material in both.
I will be carefully re-reading both.
I suspect it will be valuable to browse www.freedesktop.org generally.
[ I'll likely learn what questions I should be asking. ]
On 10/4/24 04:47, Richard Owlett wrote:
On 10/03/2024 06:34 PM, David Christensen wrote:
On 10/3/24 05:51, Richard Owlett wrote:
Is there standard/recommended location for an executable to be usedIt would help if you told us about the executable and the context for
by only a one user?
In my case it should be under /home/richard/ .
But where?
its use -- e.g. self-contain binary for shell usage, one of several
programs included in a large graphical user interface application
suite that requires a specific desktop environment, etc.
<chuckle> If life were only that simple.
This started out with planning to update my PRIMARY system from
32 bit Debian 9 with SeaMonkey 2.49.4
to
64 bit Debian 12 with SeaMonkey 2.53.19
The 32 bit system resembles Topsy. It "just grew".
My goal for the 64 bit system is that it more closely conform to the
expectations of Debian.
For some indeterminate time BOTH versions of SeaMonkey *MUST* run on
both the 32 and 64 bit systems.
From a SeaMonkey list I've gotten the needed information to have two
incompatible versions coexist. It's a known problem.
So my question in a way becomes "Where do I _not put_ SeaMonkey
executable to avoid future clashes?"
Michael Kjörling referred me to specific sections of
https://specifications.freedesktop.org/basedir-spec/latest/index.html
and
https://www.freedesktop.org/software/systemd/man/latest/file-hierarchy.html >> .
I needed the introductory material in both.
I will be carefully re-reading both.
I suspect it will be valuable to browse www.freedesktop.org generally.
[ I'll likely learn what questions I should be asking. ]
SeaMonkey does not appear to be available as a Debian package:
https://packages.debian.org/search?keywords=seamonkey&searchon=names&suite=all§ion=all
STFW I see downloadable packages for SeaMonkey:
https://www.seamonkey-project.org/releases/
Rather than trying to do an in-place upgrade of your primary system, I suggest implementing regular backups on your current primary system, building a new primary system with 64 bit Debian 12 with SeaMonkey
2.53.19, restoring your data onto the new primary system, and
implementing regular backups of your new primary system.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 146:02:02 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,687 |