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

Last updated: May 21,2024

1. Install "python-yapf" package

This is a short guide on how to install python-yapf on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-yapf

2. Uninstall "python-yapf" package

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

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

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

Package: python-yapf
Architecture: all
Version: 0.20.1-1ubuntu1
Priority: optional
Section: universe/python
Source: yapf
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ana Custura
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 632
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Breaks: yapf (<< 0.19.0-1~)
Replaces: yapf (<< 0.19.0-1~)
Filename: pool/universe/y/yapf/python-yapf_0.20.1-1ubuntu1_all.deb
Size: 95112
MD5sum: 5f741060fa30038f6e272ddf37d87af3
SHA1: b9e7d3e51b17b204620ddd3b02ae288d0a92866f
SHA256: a7273b537e3d611f486addb71c69e32fce8e26fef6a0b8f97e442fd32784d1ae
Homepage: https://github.com/google/yapf
Description: public modules for yapf (Python 2)
Description-md5: a421fb72147f3acf37d3e2348c6931bd

5. The same packages on other Linux Distributions