Reputation: 6098
Im trying to install AWS eb command line interface in Ubuntu 14.04. I just donwloaded the .zip file. Extracted in a folder. if I go to folder where eb is (/home/roberto/app/AWS-ElasticBeanstalk-CLI-2.6.1/eb/linux/python2.7) and run it, I get: eb: command not found
Same if I do it with python3 path.
Upvotes: 5
Views: 10976
Reputation: 61
If you are using arch linux:
Find your shell's profile script, in case of bash use .bash_profile run
$ ls -a ~
$ nano profile_script` #in my case `$ nano .bash_profile
Add
export PATH=~/.local/bin:$PATH
Save and exit.
Now run
$source ~/profile_script
Upvotes: 1
Reputation: 6098
Fixed:
I just ran the command on a terminal:
$ export PATH=$PATH:/opt/aws/eb/linux/python2.7/
and it's working.
Upvotes: 6
Reputation: 108
In ubuntu we write like : export PATH=$PATH:/usr/local/lib/python2.7/site-packages/
It worked for me after writing this because eb folder will be present inside mentioned folder.
Upvotes: 0
Reputation: 4817
I think all you have to do is, upgrade awsebcli by running: pip install --upgrade awsebcli
Upvotes: 1