To install Python on a Linux operating system, you can use the package manager that comes with your distribution.
Here's a general outline of the steps you can follow:
This should print the version of Python that you have installed.
Note that these instructions are for installing Python 3. If you want to install Python 2, you will need to use a slightly different command. On Debian, Ubuntu, or another Debian-based distribution:
sudo apt-get install python
On CentOS, Fedora, or another Red Hat-based distribution:
sudo yum install python
I hope this helps! Let me know if you have any questions.