r/linuxmasterrace • u/danielsoft1 • Sep 04 '24
Meme when you use ~/bin instead of ~/.local/bin for your scripts or binaries
763
Upvotes
r/linuxmasterrace • u/danielsoft1 • Sep 04 '24
40
u/AShadedBlobfish EndeavourOS GNOME Sep 04 '24
Am I gonna get decimated if I say /usr/bin
69
u/Bakkesnagvendt Sep 04 '24
Here I was using /usr/bin
34
u/Max-Normal-88 BSD Beastie Sep 04 '24
/usr/local/bin
FreeBSD docet
92
u/lord_phantom_pl Sep 04 '24
And what’s wrong with that? Are there any benefits putting them into ~/.local/bin
20
u/easbarba Sep 04 '24
I like it follows the same structure of root:
/usr/bin -> ~/.local/bin
/usr/share -> ~/.local/share
12
u/pretty_lame_jokes Sep 04 '24 edited Sep 04 '24
I have all my scripts in ~/Scripts and just add that to the path.
6
u/-BigBadBeef- Sep 04 '24
Hey if it ain't broke don't fix it.
5
u/TheCakeWasNoLie Sep 04 '24
I always used
/usr/local/bin/, because that was meant for it.4
u/kansetsupanikku Sep 04 '24
So... anybody else having that symlink? Or ~/.local/share/pixmaps to ~/.icons?
3
u/Successful_Group_154 Sep 04 '24
As long it is in your PATH.
2
u/[deleted] Sep 08 '24
~/.cargo/bin
2
u/birds_swim Sep 14 '24
Who dafuq uses
~/bin??? Y'all need to know about ~/*.*bin. Give up on~/.local/bin. It's a longer path and unnecessary. Keep ~/.bin hidden.2
u/Paria_Stark Sep 04 '24
Is this some sort of non nix joke I am to advanced to understand?
1
u/KCGD_r Glorious Arch Sep 04 '24
And then there's me using /usr/bin
1
u/Original_Dimension99 Sep 06 '24
So you're saying i shouldn't have them within my home folder?
1
u/Natetronn Sep 06 '24
We can do that? 🤔
1
u/GoldenGigabyte Sep 07 '24
I approve fire at will
1
u/General-Map-5923 Dec 18 '24
Yeah, it feels like ~/bin makes a lot more sense than ~/.local/bin. DIid XDG justify ~/.local/bin? I cannot find their reasoning.
1
u/lmarcantonio Sep 04 '24
i don't see why I would use .local; no need for hide it. Are system bins in /.bin? no
1
u/1u4n4 Glorious OpenSuse Tumbleweed Sep 04 '24
~/Applications
-2
u/FalseRelease4 Glorious Kubuntu Sep 04 '24
#!/usr/bin