Python2 Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian

Python2 Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian

python2

interactive high-level object-oriented language (Python2 version)

Maintainer: Matthias Klose



Section: python

Install python2

  • Debian apt-get install python2 Click to copy
  • Ubuntu apt-get install python2 Click to copy
  • Alpine OS apk add python2 Click to copy
  • Arch Linux pacman -S python2 Click to copy
  • Kali Linux apt-get install python2 Click to copy
  • CentOS yum install python2 Click to copy
  • Fedora dnf install python2 Click to copy
  • Raspbian apt-get install python2 Click to copy

python2

interactive high-level object-oriented language (Python2 version)

Python2, the high-level, interactive object oriented language, includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics. This package is a dependency package, which depends on Debian's Python2 version (currently v2.7).

python-minimal

minimal subset of the Python language (default version)

This package contains the interpreter and some essential modules. It's used in the boot process for some basic tasks. See /usr/share/doc/python2.7-minimal/README.Debian for a list of the modules contained in this package.

python2-minimal

minimal subset of the Python2 language

This package contains the interpreter and some essential modules. It's used in the boot process for some basic tasks. See /usr/share/doc/python2.7-minimal/README.Debian for a list of the modules contained in this package.

python

interactive high-level object-oriented language (default version)

Python, the high-level, interactive object oriented language, includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics. This package is a dependency package, which depends on Debian's default Python version (currently v2.7).

mingw32-python2

MinGW Windows python2 library

mingw64-python2

MinGW Windows python2 library
Installing python2 command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian operating systems. Once you run the command it will install the latest version of python2 2026 package in your OS.