How to Install and Uninstall bear Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 17,2024

1. Install "bear" package

This is a short guide on how to install bear on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install bear

2. Uninstall "bear" package

Here is a brief guide to show you how to uninstall bear on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove bear $ sudo apt autoclean && sudo apt autoremove

3. Information about the bear package on Ubuntu 20.10 (Groovy Gorilla)

Package: bear
Architecture: all
Version: 2.4.3-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Sebastian Ramacher
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 56
Depends: libear (>= 2.4.3-1), libear (<< 2.4.3.0~), python3:any
Filename: pool/universe/b/bear/bear_2.4.3-1_all.deb
Size: 13104
MD5sum: 59c1fe9245946c2b7824d585f5bd0a6f
SHA1: 3d68a6464b6d8c2485449ac748cc9c577c3f1dd2
SHA256: 5ecbd25d4224e3d84ea34867980e95194d493797ff3d1e80eca94844116c0ce2
SHA512: b7ccd449a65cfd75a4a5a99e12fcb2045727708f55efd8c0dd51dcc28b98f0d69ec1e59d12004443998352dd1aed3698e3811c5cb5036cf45ce7091aefafd6e5
Homepage: https://github.com/rizsotto/Bear
Description-en: generate compilation database for Clang tooling
Bear records the flags passed to the compiler for each translation unit and
stores them in a JSON file. This file can be used by Clang's tooling interface
and programs like clang-check to process a translation unit.
.
cmake supports the generation of JSON compilation databases out of the box.
For any other build system that does not support this, Bear can be used
instead to intercept the invocation of the compiler.
Description-md5: 7181645ef316f8148f4d7cc522b76bf9