How To Install python-yaml-dbg on Ubuntu 20.04
Introduction
In this tutorial we learn how to install python-yaml-dbg
on Ubuntu 20.04.
What is python-yaml-dbg
python-yaml-dbg is:
Python-yaml is a complete YAML 1.1 parser and emitter for Python. 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 Python debug interpreter. Build-Ids: 15135f3aacd0b90373a40e86554735ec08377328 2f55dfe44883258b220f7d3a9e1e6f7e4b971d36
Package: python-yaml-dbg Architecture: amd64 Version: 5.3.1-1 Priority: extra Section: universe/python 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: 1013 Depends: python-yaml (= 5.3.1-1), python2-dbg, libc6 (>= 2.14), libyaml-0-2 Filename: pool/universe/p/pyyaml/python-yaml-dbg_5.3.1-1_amd64.deb Size: 747400 MD5sum: 11095baee487a69edee066d58d32d314 SHA1: e7c5f7389e0a63fe7e71c069a4be89f09d85d2d5 SHA256: f271da85775667cfb046cb862f3dde31e176302468a123b0686d7a2a53da8698 Homepage: https://github.com/yaml/pyyaml Description-en: YAML parser and emitter for Python (debug build) Python-yaml is a complete YAML 1.1 parser and emitter for Python. 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 Python debug interpreter. Build-Ids: 59b130db8cfd05715f98a06db0199dabe8ea8e90 c03dac97368aabeb8eb0b5fcdde9f10777da601c
There are three methods to install python-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 python-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 python-yaml-dbg
using apt-get
by running the following command:
sudo apt-get -y install python-yaml-dbg
Install python-yaml-dbg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-yaml-dbg
using apt
by running the following command:
sudo apt -y install python-yaml-dbg
Install python-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 python-yaml-dbg
using aptitude
by running the following command:
sudo aptitude -y install python-yaml-dbg
How To Uninstall python-yaml-dbg on Ubuntu 20.04
To uninstall only the python-yaml-dbg
package we can use the following command:
sudo apt-get remove python-yaml-dbg
Uninstall python-yaml-dbg And Its Dependencies
To uninstall python-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 python-yaml-dbg
Remove python-yaml-dbg Configurations and Data
To remove python-yaml-dbg
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge python-yaml-dbg
Remove python-yaml-dbg configuration, data, and all of its dependencies
We can use the following command to remove python-yaml-dbg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-yaml-dbg
References
Summary
In this tutorial we learn how to install python-yaml-dbg
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.