Re: WARNING: The script foo is installed $HOME/.local/bin which is not on PATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2021-04-18 at 14:45 +0100, Sérgio Basto wrote:
> On Sun, 2021-04-18 at 14:40 +0200, Emmanuel Seyman wrote:
> > * Sérgio Basto [18/04/2021 12:57] :
> > > Hi,
> > > 
> > > $HOME/.local/bin which is not on PATH , $HOME/bin is in PATH, am
> > > I
> > > missing something ? 
> > 
> > /etc/skel/.bashrc has contained the following:
> > 
> >     # User specific environment
> >     if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
> >     then
> >         PATH="$HOME/.local/bin:$HOME/bin:$PATH"
> >     fi
> >     export PATH
> > 
> > for years and years now. If $HOME/.local/bin is not in your path,
> > something is wrong with your configuration.
> 
> Ah thank you , my Fedora has been upgraded since 2006, in particular
> my
> $HOME, the upgrades had some nuances and even when I changed
> computers
> I cloned the operating system [1] and I forgot check changes on
> /etc/skel . 

JFTR 

in .bash_profile I had 

	PATH=$PATH:$HOME/bin

	export PATH
	unset USERNAME

and in .bashrc I didn't have 


	# User specific environment
	if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
	then
    	PATH="$HOME/.local/bin:$HOME/bin:$PATH"
	fi
	export PATH

	# Uncomment the following line if you don't like systemctl's
auto-paging feature:
	# export SYSTEMD_PAGER=


Than you Emmanuel 


> [1]
> Cloning Linux OS over the network
> https://www.serjux.com/clone/
> 
> > Emmanuel
> > _______________________________________________
> > devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > Fedora Code of Conduct: 
> > https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: 
> > https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: 
> > https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> > Do not reply to spam on the list, report it: 
> > https://pagure.io/fedora-infrastructure
> -- 
> Sérgio M. B.
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: 
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure
-- 
Sérgio M. B.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux