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

Last updated: May 17,2024

1. Install "clang-format-5.0" package

This guide covers the steps necessary to install clang-format-5.0 on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "clang-format-5.0" package

In this section, we are going to explain the necessary steps to uninstall clang-format-5.0 on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: clang-format-5.0
Architecture: amd64
Version: 1:5.0.1-4
Priority: optional
Section: universe/devel
Source: llvm-toolchain-5.0
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1824
Depends: libc6 (>= 2.14), libllvm5.0 (= 1:5.0.1-4), libstdc++6 (>= 5.2), python
Filename: pool/universe/l/llvm-toolchain-5.0/clang-format-5.0_5.0.1-4_amd64.deb
Size: 560136
MD5sum: 862b83133fc67a698ae63dccfb1bdba3
SHA1: 8b76aec1f50dc3067f4bb1b695f577bb4e8980a0
SHA256: 90f7bb74bde4fcb6103c935c08334b3239813795e4ac0c140f0b88f70487e310
Homepage: http://www.llvm.org/
Description: Tool to format C/C++/Obj-C code
Description-md5: 5fdb7838fa336de9de2703cb644c12e4