How to Install and Uninstall ccls Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 17,2024

1. Install "ccls" package

Please follow the instructions below to install ccls on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install ccls

2. Uninstall "ccls" package

Learn how to uninstall ccls on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove ccls $ sudo apt autoclean && sudo apt autoremove

3. Information about the ccls package on Ubuntu 21.04 (Hirsute Hippo)

Package: ccls
Architecture: amd64
Version: 0.20210330-1
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Shengjing Zhu
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1234
Depends: libc6 (>= 2.30), libclang-cpp12 (>= 1:12.0.0~++rc4), libgcc-s1 (>= 3.3.1), libllvm12 (>= 1:9~svn298832-1~), libstdc++6 (>= 6)
Recommends: libclang-common-12-dev
Suggests: elpa-lsp-mode
Filename: pool/universe/c/ccls/ccls_0.20210330-1_amd64.deb
Size: 431528
MD5sum: 0c9db7679a269d35b719f62684b78594
SHA1: 38ec61e5e254015cdd9e3e391fa7b8857b59a860
SHA256: 3adf70b88c10b0c86c7a7caf709466c07820a9cc5a07a5a10d3e9fa52507f328
SHA512: 71051e16a1afd2e56b35fae47dd1f7800696aed51756ad236c474d0f8d2e8f6bdf4e376ea84659c67c3aa85bef296cf64bcb5fc61662d3e1f61112d80af06bdc
Homepage: https://github.com/MaskRay/ccls
Description-en: C/C++/ObjC language server
This originates from cquery, and is a server implementing
Language Server Protocol for C/C++/Objective-C. It supports:
.
* code completion (with both signature help and snippets)
* definition/references, and other cross references
* cross reference extensions:
$ccls/call $ccls/inheritance $ccls/member $ccls/vars ...
* formatting
* hierarchies:
call (caller/callee) hierarchy, inheritance (base/derived) hierarchy,
member hierarchy
* symbol rename
* document symbols and approximate search of workspace symbol
* hover information
* diagnostics and code actions (clang FixIts)
* semantic highlighting and preprocessor skipped regions
* semantic navigation:
$ccls/navigate
Description-md5: a0041ae63c0c8de35e4287f98d9d0b4e