AWS Elastic Beanstalk (eb) installation in Ubuntu 14.04: command not found

AWS Elastic Beanstalk (eb) installation in Ubuntu 14.04: command not found

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.

Fixed:

I just ran the command on a terminal:

$ export PATH=$PATH:/opt/aws/eb/linux/python2.7/

and it’s working.

I think all you have to do is, upgrade awsebcli by running: pip install --upgrade awsebcli

.
.
.
.