How To Install libpython3.8-stdlib on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpython3.8-stdlib
on Ubuntu 20.04.
What is libpython3.8-stdlib
libpython3.8-stdlib is:
Python is a high-level, interactive, object-oriented language. Its 3.8 version includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics.
This package contains Python 3.8’s standard library. It is normally not used on its own, but as a dependency of python3.8. Task: minimal, ubuntu-core
Package: libpython3.8-stdlib Architecture: amd64 Version: 3.8.2-1ubuntu1 Multi-Arch: same Priority: important Section: python Source: python3.8 Origin: Ubuntu Maintainer: Ubuntu Core Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7805 Depends: libpython3.8-minimal (= 3.8.2-1ubuntu1), mime-support, libbz2-1.0, libc6 (>= 2.28), libcrypt1 (>= 1:4.1.0), libdb5.3, libffi7 (>= 3.3~20180313), liblzma5 (>= 5.1.1alpha+20120614), libmpdec2, libncursesw6 (>= 6), libreadline8 (>= 7.0~beta), libsqlite3-0 (>= 3.7.15), libtinfo6 (>= 6), libuuid1 (>= 2.20.1) Breaks: libpython3.8-testsuite (« 3.8.0-4) Replaces: libpython3.8-testsuite (« 3.8.0-4) Filename: pool/main/p/python3.8/libpython3.8-stdlib_3.8.2-1ubuntu1_amd64.deb Size: 1667860 MD5sum: ac70c2dfe00fde17b242918f697fc59c SHA1: e05f501d0958f0846c76c5436ba828db01f17898 SHA256: 6e455e429ee3dec44cf1440ea91c9cde4c03cf5e4a06e54b0d5b5d8b95b7de03 Description-en: Interactive high-level object-oriented language (standard library, version 3.8) Python is a high-level, interactive, object-oriented language. Its 3.8 version includes an extensive class library with lots of goodies for network programming, system administration, sounds and graphics.
This package contains Python 3.8’s standard library. It is normally not used on its own, but as a dependency of python3.8. Task: minimal, ubuntu-core
There are three methods to install libpython3.8-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 libpython3.8-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 libpython3.8-stdlib
using apt-get
by running the following command:
sudo apt-get -y install libpython3.8-stdlib
Install libpython3.8-stdlib Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpython3.8-stdlib
using apt
by running the following command:
sudo apt -y install libpython3.8-stdlib
Install libpython3.8-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 libpython3.8-stdlib
using aptitude
by running the following command:
sudo aptitude -y install libpython3.8-stdlib
How To Uninstall libpython3.8-stdlib on Ubuntu 20.04
To uninstall only the libpython3.8-stdlib
package we can use the following command:
sudo apt-get remove libpython3.8-stdlib
Uninstall libpython3.8-stdlib And Its Dependencies
To uninstall libpython3.8-stdlib
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpython3.8-stdlib
Remove libpython3.8-stdlib Configurations and Data
To remove libpython3.8-stdlib
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpython3.8-stdlib
Remove libpython3.8-stdlib configuration, data, and all of its dependencies
We can use the following command to remove libpython3.8-stdlib
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpython3.8-stdlib
References
Summary
In this tutorial we learn how to install libpython3.8-stdlib
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.