Created
September 16, 2018 19:44
-
-
Save lnrsoft/c58d314dc0e7cf0223fc073a0984ea43 to your computer and use it in GitHub Desktop.
update-alternatives of clang on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-3.9 100 | |
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-6.0 1000 | |
sudo update-alternatives --install /usr/bin/clang++ clang /usr/bin/clang-3.9 100 | |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 100 | |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-6.0 1000 | |
sudo update-alternatives --config clang | |
sudo update-alternatives --config clang++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment