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

Last updated: November 10,2024

1. Install "yapf" package

Please follow the guidance below to install yapf on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install yapf

2. Uninstall "yapf" package

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

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

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

Package: yapf
Architecture: all
Version: 0.20.1-1ubuntu1
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ana Custura
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 25
Depends: python:any (>= 2.6~), python-yapf (= 0.20.1-1ubuntu1)
Filename: pool/universe/y/yapf/yapf_0.20.1-1ubuntu1_all.deb
Size: 12444
MD5sum: 4fb59a47dd924dedc4045dc2611eaf25
SHA1: ae990d60de3a591049af7f37dfc3a5aa4c677703
SHA256: beb4efac3330d81218b0ea6c70aaf9ac2129a8b90a80dba1e2e771d318ab3fb4
Homepage: https://github.com/google/yapf
Description: Python code formatter for different styles (Python 2)
Description-md5: 2bc10a032e70ff1db3676103e243c6c8