How to Install and Uninstall clang-format-6.0 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 17,2024

1. Install "clang-format-6.0" package

Please follow the guidance below to install clang-format-6.0 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install clang-format-6.0

2. Uninstall "clang-format-6.0" package

Please follow the instructions below to uninstall clang-format-6.0 on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove clang-format-6.0 $ sudo apt autoclean && sudo apt autoremove

3. Information about the clang-format-6.0 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: clang-format-6.0
Architecture: amd64
Version: 1:6.0-1ubuntu2
Priority: optional
Section: universe/devel
Source: llvm-toolchain-6.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1908
Depends: libc6 (>= 2.14), libllvm6.0 (= 1:6.0-1ubuntu2), libstdc++6 (>= 5.2), python
Filename: pool/universe/l/llvm-toolchain-6.0/clang-format-6.0_6.0-1ubuntu2_amd64.deb
Size: 588120
MD5sum: d875ee52c3c3f3b6c4389f070ce10158
SHA1: d0b181454c40c21d291dd6bb520ffaa6ae8b3bf5
SHA256: 45837be701a0245a6fc7239d084d3a4cee20f9a2d8f5e5e9210c63fa062c7910
Homepage: http://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4