install python2.7 on ubuntu 18.04 code example Example: python 2.7 ubuntu command sudo apt install python2