docs(cc): future-proof Debian/Ubuntu install instructions

The "clangd" package links to the version of clangd associated with that
version of the distribution. In Debian 11 it's clangd-11, in 12 it's
clangd-14, Ubuntu 22.04 LTS also has clangd-14, and 23.10 seems to have
clangd-16. No need to specify the clangd package name for each release.

Ref: #7502
This commit is contained in:
Skylar LK 2023-10-12 21:33:57 -04:00 committed by Henrik Lissner
parent d04e1404c2
commit d9d1737deb
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -75,8 +75,7 @@ recommended.
+ clangd (must be v9 or newer) :: clangd is included with =llvm= which should be + clangd (must be v9 or newer) :: clangd is included with =llvm= which should be
available through your OS' package manager. available through your OS' package manager.
- Linux: - Linux:
- Debian 11 & Ubuntu 20.10: ~$ apt-get install clangd-11~ - Debian & Ubuntu: ~$ apt-get install clangd~
- 20.04 LTS: [[https://pkgs.org/search/?q=clangd][clangd-10]]
- Fedora & CentOS/RHEL 8+: ~$ dnf install clang-tools-extra~ - Fedora & CentOS/RHEL 8+: ~$ dnf install clang-tools-extra~
- openSUSE: ~$ zypper install clang~ - openSUSE: ~$ zypper install clang~
- Arch: ~$ pacman -S clang~ - Arch: ~$ pacman -S clang~