Centos – How to figure out what CentOS version the AMazon Linux distribution is based on

amazon-linuxcentoslinuxversion

I was told we recently created a new Amazon Linux instance with the latest and greatest (Version 2017.3–01) . I'm trying to find out if it is based on CentOS 7 (because that is the only version that supports installation of Google Chrome). I have run

[davea@mymachine ~]$ uname -a
Linux mymachine 4.9.32-15.41.amzn1.x86_64 #1 SMP Thu Jun 22 06:20:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

but I still can't tell what version of CentOS my Amazon Linux distro is based on.

Edit: per suggestion given, here is the output of the cat command

[davea@mymachine ~]$ sudo cat /etc/*release*
[sudo] password for davea:
NAME="Amazon Linux AMI"
VERSION="2017.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2017.03"
PRETTY_NAME="Amazon Linux AMI 2017.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2017.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"
Amazon Linux AMI release 2017.03
cpe:/o:amazon:linux:2017.03:ga

Best Answer

Found this on server fault. https://serverfault.com/questions/798427/what-linux-distribution-is-the-amazon-linux-ami-based-on

To sum up: Quote from AWS folks :

The Amazon Linux AMI is not based on any one upstream Linux project. That said, one of the goals of the most current Amazon Linux AMI (2013.09) is to be as compatible as possible with RHEL 6. If there are places in which you find that we are not, please let us know so that we can investigate further."

Related Question