How To Install libpython2.7-stdlib on Ubuntu 20.04

In this tutorial we learn how to install libpython2.7-stdlib on Ubuntu 20.04. libpython2.7-stdlib is Interactive high-level object-oriented language (standard library, version 2.7) Interactive high-level object-oriented language (standard library, version 2.7)

Introduction

In this tutorial we learn how to install libpython2.7-stdlib on Ubuntu 20.04.

What is libpython2.7-stdlib

libpython2.7-stdlib is:

Python is a high-level, interactive, object-oriented language. Its 2.7 version includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics.

This package contains Python 2.7’s standard library. It is normally not used on its own, but as a dependency of python2.7. Task: ubuntustudio-desktop-core, ubuntustudio-desktop

Package: libpython2.7-stdlib Architecture: amd64 Version: 2.7.18~rc1-2 Multi-Arch: same Priority: optional Section: universe/python Source: python2.7 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 8843 Provides: python-argparse, python2.7-argparse, python2.7-celementtree, python2.7-cjkcodecs, python2.7-ctypes, python2.7-elementtree, python2.7-profiler, python2.7-wsgiref Depends: libpython2.7-minimal (= 2.7.18~rc1-2), libssl1.1 (>= 1.1.1), mime-support, libbz2-1.0, libc6 (>= 2.28), libcrypt1 (>= 1:4.1.0), libdb5.3, libexpat1 (>= 2.1~beta3), libffi7 (>= 3.3~20180313), libncursesw6 (>= 6), libreadline8 (>= 7.0~beta), libsqlite3-0 (>= 3.5.9), libtinfo6 (>= 6) Breaks: cython (« 0.25.2-2build3), python-lxml (« 3.8.0-2), python-numpy (« 1:1.12.1-3.1ubuntu1), python-scipy (« 0.18.1-2ubuntu3), python-tk (« 2.7.14~rc1-1~), python-urllib3 (« 1.9.1-3) Replaces: libpython2.7-testsuite (« 2.7.13-4), python2.7 (« 2.7.5-0~) Filename: pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18~rc1-2_amd64.deb Size: 1879944 MD5sum: 10b6adc208f4c3182c47024476f98db8 SHA1: 938e309ea8a266ebf15f188f3b132d98d87250bd SHA256: 34bffbdc3f893f0d5c53d8063bdfc82598101cfd56e3f8e314dac23a39fc2384 Description-en: Interactive high-level object-oriented language (standard library, version 2.7) Python is a high-level, interactive, object-oriented language. Its 2.7 version includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics.

This package contains Python 2.7’s standard library. It is normally not used on its own, but as a dependency of python2.7. Task: ubuntustudio-desktop-core, ubuntustudio-desktop

There are three methods to install libpython2.7-stdlib on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libpython2.7-stdlib Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libpython2.7-stdlib using apt-get by running the following command:

sudo apt-get -y install libpython2.7-stdlib

Install libpython2.7-stdlib Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpython2.7-stdlib using apt by running the following command:

sudo apt -y install libpython2.7-stdlib

Install libpython2.7-stdlib Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libpython2.7-stdlib using aptitude by running the following command:

sudo aptitude -y install libpython2.7-stdlib

How To Uninstall libpython2.7-stdlib on Ubuntu 20.04

To uninstall only the libpython2.7-stdlib package we can use the following command:

sudo apt-get remove libpython2.7-stdlib

Uninstall libpython2.7-stdlib And Its Dependencies

To uninstall libpython2.7-stdlib and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libpython2.7-stdlib

Remove libpython2.7-stdlib Configurations and Data

To remove libpython2.7-stdlib configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libpython2.7-stdlib

Remove libpython2.7-stdlib configuration, data, and all of its dependencies

We can use the following command to remove libpython2.7-stdlib configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpython2.7-stdlib

References

Summary

In this tutorial we learn how to install libpython2.7-stdlib package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.