Rober
Rober

Reputation: 6098

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.

Upvotes: 5

Views: 10976

Answers (4)

Vienna
Vienna

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

Rober
Rober

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

Aditi Raghuvanshi
Aditi Raghuvanshi

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

Ash Singh
Ash Singh

Reputation: 4817

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

Upvotes: 1

Related Questions