Post AiPdyv03iNFdGApL5k by xerge@mastodon.nl
 (DIR) More posts by xerge@mastodon.nl
 (DIR) Post #AiPdUAregI17UAEiNE by aral@mastodon.ar.al
       2024-05-30T09:24:50Z
       
       0 likes, 0 repeats
       
       A good to place install command-line apps on Linux is $HOME/.local/binSadly, Linux distributions don’t consistently have that folder on your system path.So I wrote up a quick gist with instructions on how to add it to your path on common Linux shells:https://codeberg.org/aral/gists/src/local-bin-path.md(If yours isn’t listed, merge request are welcome.) ;)Kitten also now warns you if it detects its not on your path with a link to that gist during installation. (https://codeberg.org/kitten/app/issues/178):kitten:💕#linux #Kitten
       
 (DIR) Post #AiPdv0nGETDo4OyhXs by tcit@framapiaf.org
       2024-05-30T09:29:43Z
       
       0 likes, 0 repeats
       
       @aral> Sadly, Linux distributions don’t consistently have that folder on your system path.Odd, FreeDesktop specs recommend it strongly.>  User-specific executable files may be stored in $HOME/.local/bin. Distributions should ensure this directory shows up in the UNIX $PATH environment variable, at an appropriate place. https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
       
 (DIR) Post #AiPdyv03iNFdGApL5k by xerge@mastodon.nl
       2024-05-30T09:29:46Z
       
       0 likes, 0 repeats
       
       @aral why in a hidden folder? I’ve used ~/bin for as long as I can remember. Works just fine. Just add it to the user path. Adding it to the system path sounds like a security issue. Especially if it is a hidden folder.
       
 (DIR) Post #AiPe0AlCbTiIQgTZlQ by Suiseiseki@freesoftwareextremist.com
       2024-05-30T09:31:04.272743Z
       
       0 likes, 0 repeats
       
       @aral >Linux shellsLooking at the page, you document GNU bash, zsh and fish, all of which don't care about what kernel is in use, rather that GNU libraries are available for interfacing;app-shells/zsh   `--  sys-apps/groff   `--  sys-libs/ncursesapp-shells/fish   `--  sys-apps/coreutils   `--  sys-libs/ncurses   `--  sys-devel/gettext
       
 (DIR) Post #AiPeJ4uGalLVmBjMbg by aral@mastodon.ar.al
       2024-05-30T09:33:47Z
       
       0 likes, 0 repeats
       
       @xerge It’s just part of the freedesktop standard. ~/bin was/is also widely used and is supported by some distributions.
       
 (DIR) Post #AiPebYCGQj55pZxP7o by omz13@mastodon.social
       2024-05-30T09:37:27Z
       
       0 likes, 0 repeats
       
       @aral Why not /usr/local/bin or ~/bin ?
       
 (DIR) Post #AiPgJ3tKZ94uXJPes4 by hyde@lazybear.social
       2024-05-30T09:56:29Z
       
       0 likes, 0 repeats
       
       @aral as mentioned i use ~/bin/ that is a symlink to my ~/.cfg, that is my dotfiles directory.
       
 (DIR) Post #AiPifjdqDiBSIk6hI8 by Sh41@androiddev.social
       2024-05-30T10:23:00Z
       
       0 likes, 0 repeats
       
       @aral why the "."?I normally put those utilities under $HOME/bin and I have a $HOME/local for now complex tools (needing config and so on) basically the same as "/usr/local" but only for this user
       
 (DIR) Post #AiPnTERsrtJbr1N5xg by aral@mastodon.ar.al
       2024-05-30T11:16:47Z
       
       0 likes, 0 repeats
       
       @Sh41 https://mastodon.ar.al/@aral/112529350813386601
       
 (DIR) Post #AiPrucaPdJD2Lofzii by Sh41@androiddev.social
       2024-05-30T12:06:32Z
       
       0 likes, 0 repeats
       
       @aral I guess I'm just old school Debian 🤷‍♀️