Last week a person created a ubuntu 18.04 LTS in Amazon Cloud (AWS) to match my home Linux. Somehow when I logged into it, I see very different kernel version.
AWS
aws$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
aws$ uname -a
Linux aws 5.4.0-1078-aws #84~18.04.1-Ubuntu SMP Fri Jun 3 12:59:49 UTC 2022
Home
home$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
home$ uname -a
Linux home 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I can understand if minor version changed due to upgrade, eg, 4.15 vs 4.22. But this is a major version difference: 4 vs 5. Will my binary executable still be portable?