Python 3 Installation on Linux Quickly even Kids can Installation
If we are using an account on a remote server, your ISP may have already installed Python 3. If you are using Linux, you may already have Python 3. Most popular GNU / Linux distributions include Python 2 in their own default installation.
Contents
The easiest way to check if you have Python 3 on your Linux is to use the command line. On Linux, look for a program called Terminal in your Applications menu. (It could be in a submenu like Accessories or System Tools.)
Once you are at the command line prompt, simply type python3 (in lowercase, no spaces) and see what happens.
- On the Linux server, we usually have Python 2 installed in the directory /usr/bin/python
- Python 3 in the directory /usr/bin/python3.
- For a fresh installation, we can install python with the appropriate yum or apt-get command of your distribution.
- An alternative is to install Anaconda with Python 3. x
$ which python3
$ sudo apt-get install python3
$ sudo yum install python3