ubuntu apt-get install python2 code example Example: python 2.7 ubuntu command sudo apt install python2