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

Last updated: December 28,2024

1. Install "clang-format-3.5" package

Please follow the step by step instructions below to install clang-format-3.5 on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "clang-format-3.5" package

This is a short guide on how to uninstall clang-format-3.5 on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: clang-format-3.5
Priority: optional
Section: universe/devel
Installed-Size: 1205
Maintainer: Ubuntu Developers
Original-Maintainer: LLVM Packaging Team
Architecture: amd64
Source: llvm-toolchain-3.5
Version: 1:3.5.2-3ubuntu1
Replaces: clang-format-3.3
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.4), libllvm3.5v5, libstdc++6 (>= 5.2), python
Breaks: clang-format-3.3
Filename: pool/universe/l/llvm-toolchain-3.5/clang-format-3.5_3.5.2-3ubuntu1_amd64.deb
Size: 379082
MD5sum: fd217503a0851b8116cfa2bdb0b192a6
SHA1: 9120f960a8536a660885fb1a8e8ebd98855d8130
SHA256: 6fb444439d5e325ce8adc0b89bbc2392e2a4afc4d8a020ba491a12df06b75f79
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