You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed the GPG key for the LLVM repository is added after running sudo apt update. This should be done before sudo apt update to avoid warnings about unauthenticated sources.
Here's a corrected version of this script:
#!/bin/bashecho deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main | sudo tee -a /etc/apt/sources.list
echo deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main | sudo tee -a /etc/apt/sources.list
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt update
sudo apt upgrade
sudo apt install clang-11 llvm-11 llvm-11-dev lldb-11 lld-11 -y
sudo apt install libc++-11-dev libc++abi-11-dev -y
The text was updated successfully, but these errors were encountered:
I've noticed the GPG key for the LLVM repository is added after running
sudo apt update
. This should be done beforesudo apt update
to avoid warnings about unauthenticated sources.Here's a corrected version of this script:
The text was updated successfully, but these errors were encountered: