How to Install .NET Core 5 on AWS Linux Workspaces, Amazon Linux EC2, or CentOS 7.x

Over the last few weeks, I developed a .NET Console application to run in Linux and one of the prerequisites to execute the application is the installation of the .NET Core Runtime (or SDK) in the machine.

The following procedure is useful for AWS Linux Workspaces, Amazon Linux EC2 instances, and CentOS 7.x machines.