Can't Install Gcloud on Amazon Linux:Invalid Syntax

Can't install gcloud on Amazon Linux : invalid syntax

On top of python 2.7 installed on the "python" command, I also had python 2.6 installed on the "python2" command.
Uninstalling python 2.6 solved the issue, Google Cloud install went through without issue on the next try.

gcloud sdk fails on yum update fresh centos7 running on GCE

I reproduced the problem and everything seems to work correctly after the update, it should be safe to just ignore the error.

Amazon Linux: apt-get: command not found

If you're using Amazon Linux it's CentOS-based, which is RedHat-based. RH-based installs use yum not apt-get. Something like yum search httpd should show you the available Apache packages - you likely want yum install httpd24.

Note: Amazon Linux 2 has diverged from CentOS since the writing of this answer, but still uses yum.



Related Topics



Leave a reply



Submit