How to Install and Uninstall clang-format-3.7 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 28,2024

1. Install "clang-format-3.7" package

Here is a brief guide to show you how to install clang-format-3.7 on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "clang-format-3.7" package

Please follow the step by step instructions below to uninstall clang-format-3.7 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the clang-format-3.7 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: clang-format-3.7
Priority: optional
Section: universe/devel
Installed-Size: 1282
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Architecture: amd64
Source: llvm-toolchain-3.7
Version: 1:3.7.1-2ubuntu2
Replaces: clang-format-3.3
Depends: libc6 (>= 2.14), libllvm3.7, libstdc++6 (>= 5.2), python
Breaks: clang-format-3.3
Filename: pool/universe/l/llvm-toolchain-3.7/clang-format-3.7_3.7.1-2ubuntu2_amd64.deb
Size: 413674
MD5sum: 2207f3f57fe4c814fc7f37284764ea87
SHA1: 072c98e589892609ea4d88e552573374803ede0d
SHA256: 8e52d29cfc572798ed0fb16f0aab137ea854e7b0b2e1e867ed9dc83a7abc9d0a
Description-en: Tool to format C/C++/Obj-C code
Clang-format is both a library and a stand-alone tool with the goal of
automatically reformatting C++ sources files according to configurable
style guides. To do so, clang-format uses Clang's Lexer to transform an
input file into a token stream and then changes all the whitespace around
those tokens. The goal is for clang-format to both serve both as a user
tool (ideally with powerful IDE integrations) and part of other
refactoring tools, e.g. to do a reformatting of all the lines changed
during a renaming.
.
This package also provides vim and emacs plugins.
Description-md5: 5fdb7838fa336de9de2703cb644c12e4
Homepage: http://www.llvm.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu