How to Install and Uninstall python-yaml Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 15,2024

1. Install "python-yaml" package

Please follow the steps below to install python-yaml on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-yaml

2. Uninstall "python-yaml" package

Please follow the guidance below to uninstall python-yaml on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-yaml $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-yaml package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-yaml
Architecture: amd64
Version: 3.12-1build2
Priority: optional
Section: python
Source: pyyaml
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 468
Depends: python (<< 2.8), python (>= 2.7~), python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libyaml-0-2
Filename: pool/main/p/pyyaml/python-yaml_3.12-1build2_amd64.deb
Size: 115300
MD5sum: 13f3e69076afed4f5028dfd3ccc55713
SHA1: 508d84e14582786fd8dc95fd3ebe21ef3fcdcf93
SHA256: 6d7224b64bad33e42a21cad92c2381f480785fdce00d8df8ecd0411f7570ae06
Homepage: https://github.com/yaml/pyyaml
Description: YAML parser and emitter for Python
Description-md5: 82d5290a45a0b6b13c828ddb2dd65a9c
Task: ubuntustudio-publishing
Supported: 5y