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:
parent
d04e1404c2
commit
d9d1737deb
1 changed files with 1 additions and 2 deletions
|
@ -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~
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue