I installed AWS CLI with pip command. The issue that I have is that everytime I open a new terminal window I have to type " export PATH=~/.local/bin:$PATH " in order to be able to run de command.
What do I need to modify to establish permanently the path?
Honestly, a few months earlier installed the same AWS Cli but with another method and I don't recall having this problem.
Thanks for your comments.
add-modify path
Re: add-modify path
Try editing ~/.bash_profile and logout/login again.
Re: add-modify path
Well, that's a tricky one.
My current PATH on ~/.bash_profile is PATH=$PATH:$HOME/bin . I'm trying to reach /usr/bin/python.
If I type echo $SHELL appears /bin/bash.
My current PATH on ~/.bash_profile is PATH=$PATH:$HOME/bin . I'm trying to reach /usr/bin/python.
If I type echo $SHELL appears /bin/bash.
Re: add-modify path
/usr/bin/python is already within the default PATH so your issue is something else. If you need /usr/local/bin added to $PATH then avij's advice is sound and the best way to do that, though I believe the default PATH already includes /usr/local/bin in any case.
As an aside, please make sure you do not attempt to replace /usr/bin/python with a different version than we ship. Doing so will break half the system tools as shipped by Redhat and may require a reinstall to fix.
As an aside, please make sure you do not attempt to replace /usr/bin/python with a different version than we ship. Doing so will break half the system tools as shipped by Redhat and may require a reinstall to fix.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: add-modify path
I agree. The funny part is everytime I run " aws configure " appears bash: aws: command not found.
But if I type export PATH=~/.local/bin:$PATH and then " aws configure " it runs perfectly.
Now, as You mention, I don´t want to mess up my path file.
But if I type export PATH=~/.local/bin:$PATH and then " aws configure " it runs perfectly.
Now, as You mention, I don´t want to mess up my path file.