How did the ~/.local/bin thing start? How widespread is it?Which distributions have $HOME/.local/bin in...
LWC: Is it safe to rely on window.location.href to get the page url?
Why do presidential pardons exist in a country having a clear separation of powers?
Can UV radiation be safe for the skin?
Can I lend a small amount of my own money to a bank at the federal funds rate?
Why doesn't Starship have four landing legs?
Why haven't the British protested Brexit as ardently like Hong Kongers protest?
Should a TA point out a professor's mistake while attending their lecture?
Where should I draw the line on follow up questions from previous employer
Cheap oscilloscope showing 16 MHz square wave
New coworker has strange workplace requirements - how should I deal with them?
Don't look at what I did there
Can authors email you PDFs of their textbook for free?
Rapid change in character
Was it illegal to blaspheme God in Antioch in 360.-410.?
Padding a column of lists
What is a "hashed transaction" in SQL Server Replication terminology?
What is the following VRP?
How to differentiate between two people with the same name in a story?
What was Captain Marvel supposed to do once she reached her destination?
Is it good practice to speed up and slow down where not written in a song?
“all of who” or “all of whom”?
Journal published a paper, ignoring my objections as a referee
Why is there no Disney logo in MCU movies?
Did the Apollo Guidance Computer really use 60% of the world's ICs in 1963?
How did the ~/.local/bin thing start? How widespread is it?
Which distributions have $HOME/.local/bin in $PATH?What to do when .profile does not exist for editing PATH?Why did pip install a package into ~/.local/bin?Makefile - How to install a bash script into user's bin directory?What is /usr/local/bin?No exec permissions on programs in /usr/local/binStandard and/or common directories on Unix/Linux OSesPermissions/ownership of /usr/local/binAt what point did the /home directory appear?Difference between /usr/bin and /usr/local/binWhich of /usr/bin/perl or /usr/local/bin/perl should be used?Which distributions have $HOME/.local/bin in $PATH?Why isn't /usr/local/lib on the library path by default?Why did PATH='$PATH:/Path/to/bin' overwrite my PATH?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I find more and more tools that put executables into ~/.local/bin. I am old and for me ~/bin is the place in my $HOME for executables.
Where did this crazy new fashion originate? Why are people doing this? How widespread is it? Is it formalized anywhere? It is not in the XDG directory specification.
There is a related question:
Which distributions have $HOME/.local/bin in $PATH?
A comment to another question refert to https://www.python.org/dev/peps/pep-0370 which had it back in 2008 already:
Why did this program install into ~/.local/bin ... thats the first time I have seen that happen?
path executable home fhs xdg-user-dirs
add a comment |
I find more and more tools that put executables into ~/.local/bin. I am old and for me ~/bin is the place in my $HOME for executables.
Where did this crazy new fashion originate? Why are people doing this? How widespread is it? Is it formalized anywhere? It is not in the XDG directory specification.
There is a related question:
Which distributions have $HOME/.local/bin in $PATH?
A comment to another question refert to https://www.python.org/dev/peps/pep-0370 which had it back in 2008 already:
Why did this program install into ~/.local/bin ... thats the first time I have seen that happen?
path executable home fhs xdg-user-dirs
Here is a guess: To avoid annoying people with creating a lot of strange subdirs in $HOME, 'bin' was hidden in ~/.local But how about ~/Desktop and ~/Downloads would one ask?
– hschou
Jun 14 '17 at 5:03
1
It's not in $PATH in Ubuntu 14.04 - but it is there in 16.04. So far I have no packages using that ~/.local/bin, but then I don't think any packages have automatically put files into ~/bin either. Maybe that's the principle behind it - maybe packages should not automatically install files into ~/bin which is for the user to use?
– Joe P
Jun 14 '17 at 7:55
@hschou, whilst I agree with you with regards to ~/Downloads and ~/Desktop, I think that hiding a directory holding binaries is a spectacularly bad idea. What was so bad about ~/bin or at a stretch, ~/bin/python?
– Graham Nicholls
4 hours ago
add a comment |
I find more and more tools that put executables into ~/.local/bin. I am old and for me ~/bin is the place in my $HOME for executables.
Where did this crazy new fashion originate? Why are people doing this? How widespread is it? Is it formalized anywhere? It is not in the XDG directory specification.
There is a related question:
Which distributions have $HOME/.local/bin in $PATH?
A comment to another question refert to https://www.python.org/dev/peps/pep-0370 which had it back in 2008 already:
Why did this program install into ~/.local/bin ... thats the first time I have seen that happen?
path executable home fhs xdg-user-dirs
I find more and more tools that put executables into ~/.local/bin. I am old and for me ~/bin is the place in my $HOME for executables.
Where did this crazy new fashion originate? Why are people doing this? How widespread is it? Is it formalized anywhere? It is not in the XDG directory specification.
There is a related question:
Which distributions have $HOME/.local/bin in $PATH?
A comment to another question refert to https://www.python.org/dev/peps/pep-0370 which had it back in 2008 already:
Why did this program install into ~/.local/bin ... thats the first time I have seen that happen?
path executable home fhs xdg-user-dirs
path executable home fhs xdg-user-dirs
asked Jun 13 '17 at 19:27
Thomas KochThomas Koch
2261 silver badge5 bronze badges
2261 silver badge5 bronze badges
Here is a guess: To avoid annoying people with creating a lot of strange subdirs in $HOME, 'bin' was hidden in ~/.local But how about ~/Desktop and ~/Downloads would one ask?
– hschou
Jun 14 '17 at 5:03
1
It's not in $PATH in Ubuntu 14.04 - but it is there in 16.04. So far I have no packages using that ~/.local/bin, but then I don't think any packages have automatically put files into ~/bin either. Maybe that's the principle behind it - maybe packages should not automatically install files into ~/bin which is for the user to use?
– Joe P
Jun 14 '17 at 7:55
@hschou, whilst I agree with you with regards to ~/Downloads and ~/Desktop, I think that hiding a directory holding binaries is a spectacularly bad idea. What was so bad about ~/bin or at a stretch, ~/bin/python?
– Graham Nicholls
4 hours ago
add a comment |
Here is a guess: To avoid annoying people with creating a lot of strange subdirs in $HOME, 'bin' was hidden in ~/.local But how about ~/Desktop and ~/Downloads would one ask?
– hschou
Jun 14 '17 at 5:03
1
It's not in $PATH in Ubuntu 14.04 - but it is there in 16.04. So far I have no packages using that ~/.local/bin, but then I don't think any packages have automatically put files into ~/bin either. Maybe that's the principle behind it - maybe packages should not automatically install files into ~/bin which is for the user to use?
– Joe P
Jun 14 '17 at 7:55
@hschou, whilst I agree with you with regards to ~/Downloads and ~/Desktop, I think that hiding a directory holding binaries is a spectacularly bad idea. What was so bad about ~/bin or at a stretch, ~/bin/python?
– Graham Nicholls
4 hours ago
Here is a guess: To avoid annoying people with creating a lot of strange subdirs in $HOME, 'bin' was hidden in ~/.local But how about ~/Desktop and ~/Downloads would one ask?
– hschou
Jun 14 '17 at 5:03
Here is a guess: To avoid annoying people with creating a lot of strange subdirs in $HOME, 'bin' was hidden in ~/.local But how about ~/Desktop and ~/Downloads would one ask?
– hschou
Jun 14 '17 at 5:03
1
1
It's not in $PATH in Ubuntu 14.04 - but it is there in 16.04. So far I have no packages using that ~/.local/bin, but then I don't think any packages have automatically put files into ~/bin either. Maybe that's the principle behind it - maybe packages should not automatically install files into ~/bin which is for the user to use?
– Joe P
Jun 14 '17 at 7:55
It's not in $PATH in Ubuntu 14.04 - but it is there in 16.04. So far I have no packages using that ~/.local/bin, but then I don't think any packages have automatically put files into ~/bin either. Maybe that's the principle behind it - maybe packages should not automatically install files into ~/bin which is for the user to use?
– Joe P
Jun 14 '17 at 7:55
@hschou, whilst I agree with you with regards to ~/Downloads and ~/Desktop, I think that hiding a directory holding binaries is a spectacularly bad idea. What was so bad about ~/bin or at a stretch, ~/bin/python?
– Graham Nicholls
4 hours ago
@hschou, whilst I agree with you with regards to ~/Downloads and ~/Desktop, I think that hiding a directory holding binaries is a spectacularly bad idea. What was so bad about ~/bin or at a stretch, ~/bin/python?
– Graham Nicholls
4 hours ago
add a comment |
2 Answers
2
active
oldest
votes
You already have the answer: Python is the main user of ~/.local
. It's the only I remember encountering. In Python, it was adopted as PEP 370.
PEP 370 gives some rationale as to why ~/.local
was chosen. Some parts are obvious: it had to be in the user's home directory, since this is for per-user installation. It had to be a dot file so that it's hidden from cursory eyes, just like other configuration files. The name .local
mimics /usr/local
.
The location had been used by FreeDesktop. I don't know of any application that uses it.
add a comment |
You now - thanks to @gilles - have a patronising answer: It's in PEP370.
Now, you can have the grumpy old git's answer, free of charge. "Because some bleeping bleep thought a hidden, local (!) directory containing binaries is a good idea, and the Python community agreed". Snigger.
PS What are cursory eyes? Ones which have gone square from staring at the screen looking for the directory where pip installs things?
As an aside, thank goodness for Go. It's like Python where somebody bothered to charge the batteries.
PS Vote me down, delete the answer, rant all you like. The question was a good one, which IMO deserved a better answer than "it's in PEP370".
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f370943%2fhow-did-the-local-bin-thing-start-how-widespread-is-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You already have the answer: Python is the main user of ~/.local
. It's the only I remember encountering. In Python, it was adopted as PEP 370.
PEP 370 gives some rationale as to why ~/.local
was chosen. Some parts are obvious: it had to be in the user's home directory, since this is for per-user installation. It had to be a dot file so that it's hidden from cursory eyes, just like other configuration files. The name .local
mimics /usr/local
.
The location had been used by FreeDesktop. I don't know of any application that uses it.
add a comment |
You already have the answer: Python is the main user of ~/.local
. It's the only I remember encountering. In Python, it was adopted as PEP 370.
PEP 370 gives some rationale as to why ~/.local
was chosen. Some parts are obvious: it had to be in the user's home directory, since this is for per-user installation. It had to be a dot file so that it's hidden from cursory eyes, just like other configuration files. The name .local
mimics /usr/local
.
The location had been used by FreeDesktop. I don't know of any application that uses it.
add a comment |
You already have the answer: Python is the main user of ~/.local
. It's the only I remember encountering. In Python, it was adopted as PEP 370.
PEP 370 gives some rationale as to why ~/.local
was chosen. Some parts are obvious: it had to be in the user's home directory, since this is for per-user installation. It had to be a dot file so that it's hidden from cursory eyes, just like other configuration files. The name .local
mimics /usr/local
.
The location had been used by FreeDesktop. I don't know of any application that uses it.
You already have the answer: Python is the main user of ~/.local
. It's the only I remember encountering. In Python, it was adopted as PEP 370.
PEP 370 gives some rationale as to why ~/.local
was chosen. Some parts are obvious: it had to be in the user's home directory, since this is for per-user installation. It had to be a dot file so that it's hidden from cursory eyes, just like other configuration files. The name .local
mimics /usr/local
.
The location had been used by FreeDesktop. I don't know of any application that uses it.
answered Jun 15 '17 at 1:09
GillesGilles
572k139 gold badges1182 silver badges1693 bronze badges
572k139 gold badges1182 silver badges1693 bronze badges
add a comment |
add a comment |
You now - thanks to @gilles - have a patronising answer: It's in PEP370.
Now, you can have the grumpy old git's answer, free of charge. "Because some bleeping bleep thought a hidden, local (!) directory containing binaries is a good idea, and the Python community agreed". Snigger.
PS What are cursory eyes? Ones which have gone square from staring at the screen looking for the directory where pip installs things?
As an aside, thank goodness for Go. It's like Python where somebody bothered to charge the batteries.
PS Vote me down, delete the answer, rant all you like. The question was a good one, which IMO deserved a better answer than "it's in PEP370".
add a comment |
You now - thanks to @gilles - have a patronising answer: It's in PEP370.
Now, you can have the grumpy old git's answer, free of charge. "Because some bleeping bleep thought a hidden, local (!) directory containing binaries is a good idea, and the Python community agreed". Snigger.
PS What are cursory eyes? Ones which have gone square from staring at the screen looking for the directory where pip installs things?
As an aside, thank goodness for Go. It's like Python where somebody bothered to charge the batteries.
PS Vote me down, delete the answer, rant all you like. The question was a good one, which IMO deserved a better answer than "it's in PEP370".
add a comment |
You now - thanks to @gilles - have a patronising answer: It's in PEP370.
Now, you can have the grumpy old git's answer, free of charge. "Because some bleeping bleep thought a hidden, local (!) directory containing binaries is a good idea, and the Python community agreed". Snigger.
PS What are cursory eyes? Ones which have gone square from staring at the screen looking for the directory where pip installs things?
As an aside, thank goodness for Go. It's like Python where somebody bothered to charge the batteries.
PS Vote me down, delete the answer, rant all you like. The question was a good one, which IMO deserved a better answer than "it's in PEP370".
You now - thanks to @gilles - have a patronising answer: It's in PEP370.
Now, you can have the grumpy old git's answer, free of charge. "Because some bleeping bleep thought a hidden, local (!) directory containing binaries is a good idea, and the Python community agreed". Snigger.
PS What are cursory eyes? Ones which have gone square from staring at the screen looking for the directory where pip installs things?
As an aside, thank goodness for Go. It's like Python where somebody bothered to charge the batteries.
PS Vote me down, delete the answer, rant all you like. The question was a good one, which IMO deserved a better answer than "it's in PEP370".
answered 4 hours ago
Graham NichollsGraham Nicholls
1892 silver badges17 bronze badges
1892 silver badges17 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f370943%2fhow-did-the-local-bin-thing-start-how-widespread-is-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Here is a guess: To avoid annoying people with creating a lot of strange subdirs in $HOME, 'bin' was hidden in ~/.local But how about ~/Desktop and ~/Downloads would one ask?
– hschou
Jun 14 '17 at 5:03
1
It's not in $PATH in Ubuntu 14.04 - but it is there in 16.04. So far I have no packages using that ~/.local/bin, but then I don't think any packages have automatically put files into ~/bin either. Maybe that's the principle behind it - maybe packages should not automatically install files into ~/bin which is for the user to use?
– Joe P
Jun 14 '17 at 7:55
@hschou, whilst I agree with you with regards to ~/Downloads and ~/Desktop, I think that hiding a directory holding binaries is a spectacularly bad idea. What was so bad about ~/bin or at a stretch, ~/bin/python?
– Graham Nicholls
4 hours ago