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

Last updated: November 07,2024

1. Install "clang-format-4.0" package

Please follow the step by step instructions below to install clang-format-4.0 on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "clang-format-4.0" package

Learn how to uninstall clang-format-4.0 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: clang-format-4.0
Architecture: amd64
Version: 1:4.0.1-10
Priority: optional
Section: universe/devel
Source: llvm-toolchain-4.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1725
Depends: libc6 (>= 2.14), libllvm4.0 (= 1:4.0.1-10), libstdc++6 (>= 5.2), python
Filename: pool/universe/l/llvm-toolchain-4.0/clang-format-4.0_4.0.1-10_amd64.deb
Size: 530076
MD5sum: 8de39f9bb4be09ddc6771503ed2338bb
SHA1: e2b7a954bc76c4c00755dc88c875822b4d6adaf9
SHA256: 7ba80270bd734cbe10545789d74d587625986578adafd14f08f5b0cb0cb3cdb2
Homepage: http://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4