This issue tracks the release note for the following Fedora Change:
User PATH Prioritization owned by @ssbarnea , @till , @churchyard
If you own this change, please add additional information here that we should communicate to Fedora users. Specifically, please consider:
Your notes to us do not need to be formally written. We will edit them and add details as needed. This is a way for you to ensure that we know what is critical about your change.
If you want to write this release note, then:
Once you're done with the above, make sure to either commit the relnote to an appropriate section of the Release Notes book, or, if you're not familiar with Git, AsciiDoc, or whatever else, just add it to this issue as a comment and let pbokoc[1] and Brian ( @bex ) know that you're done with this one and you'd like the note included. Also make sure to do this even for relnotes that haven't been checked by the change owner.
[0] You can do that by asking the change owner listed on the wiki page; alternatively you can infer it by checking the tracker bug (linked in Wiki) in Bugzilla and looking at its status; see bug comments for details. Ask someone on the mailing list or on IRC if you're not sure. [1] In #fedora-docs on FreeNode (UTC+1 timezone, online mostly during the day on weekdays), or pbokoc @redhat.com if you can't get a hold of me on IRC.
Fedora now prioritizes commands from "$HOME/.local/bin" and "$HOME/bin" over system-wide paths to allow to easily mask system binaries with newer versions. For example "pip install --user virtualenv" will now work even when virtualenv from the package repositories is installed. The new behavior is only available for newly created user accounts.
... If you have existing user accounts and you want to benefit from this change, edit file ~/.bash_profile and adjust the PATH definition to bePATH=$HOME/.local/bin:$HOME/bin:$PATH (see /etc/skel/.bash_profile).
~/.bash_profile
PATH
PATH=$HOME/.local/bin:$HOME/bin:$PATH
/etc/skel/.bash_profile
I think that this should be PATH=$HOME/bin:$HOME/.local/bin:$PATH rather than PATH=$HOME/.local/bin:$HOME/bin:$PATH
to prefer the location users are more likely to put there own scripts (~/bin/) above the .local/bin location that I'd never even heard of.
Open a bug or discussion on devel mailing list, if you think this is currently wrong. Alternativelly comment in the tracking bug of the change. This ticket is not the right place.
Added in #255.
Metadata Update from @pbokoc: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.