install python2 linux code example
Example 1: python 2.7 ubuntu command
sudo apt install python2
Example 2: how to install python 2
$ sudo apt install python2
OR
$ sudo apt install python-minimal #is working
sudo apt install python2
$ sudo apt install python2
OR
$ sudo apt install python-minimal #is working