How To Install python3-yaml-dbg on Ubuntu 20.04

In this tutorial we learn how to install python3-yaml-dbg on Ubuntu 20.04. python3-yaml-dbg is YAML parser and emitter for Python3 (debug build) YAML parser and emitter for Python3 (debug build)

Introduction

In this tutorial we learn how to install python3-yaml-dbg on Ubuntu 20.04.

What is python3-yaml-dbg

python3-yaml-dbg is:

Python3-yaml is a complete YAML 1.1 parser and emitter for Python3. It can parse all examples from the specification. The parsing algorithm is simple enough to be a reference for YAML parser implementors. A simple extension API is also provided. The package is built using libyaml for improved speed.

This package contains the extension built for the Python3 debug interpreter. Build-Ids: 5e8e47f21ec3d196fa3f20ab7bd387e49e61afee 8c9ce3932abdd15c58ac1a16ce5af2f23119ec54

Package: python3-yaml-dbg Architecture: amd64 Version: 5.3.1-1 Priority: extra Section: debug Source: pyyaml Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Python Modules Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1242 Depends: python3-yaml (= 5.3.1-1), python3-dbg, libc6 (>= 2.14), libyaml-0-2 Filename: pool/main/p/pyyaml/python3-yaml-dbg_5.3.1-1_amd64.deb Size: 965732 MD5sum: 7d2c84a0c5a654cce776cf8373311bfa SHA1: 81235ac46b0f84025bbaf2c2594c2182272befdc SHA256: 90cc63f3af894c0e645500554c6aba66fb3a622ad1587374fbe2ae8daadd5c68 Homepage: https://github.com/yaml/pyyaml Description-en: YAML parser and emitter for Python3 (debug build) Python3-yaml is a complete YAML 1.1 parser and emitter for Python3. It can parse all examples from the specification. The parsing algorithm is simple enough to be a reference for YAML parser implementors. A simple extension API is also provided. The package is built using libyaml for improved speed.

This package contains the extension built for the Python3 debug interpreter. Build-Ids: 3deacf939a8a1832b380474c4ed01a1612ef6db1 5ed084cb493ff74ac6355e1f451546121da7b5b0

There are three methods to install python3-yaml-dbg 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 python3-yaml-dbg Using apt-get

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

sudo apt-get update

After updating apt database, We can install python3-yaml-dbg using apt-get by running the following command:

sudo apt-get -y install python3-yaml-dbg

Install python3-yaml-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python3-yaml-dbg using apt by running the following command:

sudo apt -y install python3-yaml-dbg

Install python3-yaml-dbg 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 python3-yaml-dbg using aptitude by running the following command:

sudo aptitude -y install python3-yaml-dbg

How To Uninstall python3-yaml-dbg on Ubuntu 20.04

To uninstall only the python3-yaml-dbg package we can use the following command:

sudo apt-get remove python3-yaml-dbg

Uninstall python3-yaml-dbg And Its Dependencies

To uninstall python3-yaml-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python3-yaml-dbg

Remove python3-yaml-dbg Configurations and Data

To remove python3-yaml-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python3-yaml-dbg

Remove python3-yaml-dbg configuration, data, and all of its dependencies

We can use the following command to remove python3-yaml-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python3-yaml-dbg

References

Summary

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