How to install clang++?Unmet dependencies when installing Clang++How to install clang for YouCompleteMe?No .a or .o file created after building the project in CodeliteHow to install CLang using precompiled binaries?llvm and clang installation on ubuntu./configure Permission Denied when try to build llvmInstalling Clang+LLVM 3.4 from llvm.org into Saucy 13.10Compile C++ 11 with clang 3.4 and GraphicsMagickMan pages for clang unavailableInstalling clang 5.0 and using C++17VMware Player(14.1.1) segfaults on clang-built kernel and clang-built VMware kernel modulesinstallation of clang on ubuntu18.04?
Is it possible to write Quake's fast InvSqrt() function in Rust?
How to verify router firmware is legit?
Sold item on eBay, buyer wants it to be delivered to another country, and pay by bank transfer
Name for geostationary orbit around another planet
Could anyone explain this 置く置かない to me please
How can you know which index is tracked by a specific index fund?
Why does all female physical beauty have to be sexualised?
Can I freely use 'here is' instead of 'there is' if I'm in the place where that thing is?
Rite of Winter: How to Stop Crescian Couples from Mutual Assassination
Do the holes in Jacquard loom punched cards represent input data or program code?
Difference between a paintmap and wetmap
Can I say "guess what" to acknowledge new information?
Can I apply for a passport in the country I'm in so I can travel to my home country?
TikZ: How to draw a pattern at the border of a not closed tikz path
Aliens kill as an art form, surprised that humans don't appreciate
GIMP using command line
Should high school teachers say “real numbers” before teaching complex numbers?
We can read the ssh private key with less id_rsa
Might a cast iron pan set on top of a microwave oven affect the operation?
"Associative" Correlation
Slang question, what does mean by "horse"?
In a decadent galactic empire with instantaneous communication, how would the most remote planet gain their independence?
How to allow >(process substitution) when noclobber is set?
Is there any obvious warning when auto-pilot is disengaged or when the mode changes?
How to install clang++?
Unmet dependencies when installing Clang++How to install clang for YouCompleteMe?No .a or .o file created after building the project in CodeliteHow to install CLang using precompiled binaries?llvm and clang installation on ubuntu./configure Permission Denied when try to build llvmInstalling Clang+LLVM 3.4 from llvm.org into Saucy 13.10Compile C++ 11 with clang 3.4 and GraphicsMagickMan pages for clang unavailableInstalling clang 5.0 and using C++17VMware Player(14.1.1) segfaults on clang-built kernel and clang-built VMware kernel modulesinstallation of clang on ubuntu18.04?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I'm having trouble getting clang++ to work as I compile my code. Specifically, I'm getting a make: clang++: Command not found
error.
I've run sudo apt-get install llvm
, and also sudo apt-get install build-essential
and sudo apt-get update
. What do I have to do to get clang++ installed?
gcc clang
add a comment
|
I'm having trouble getting clang++ to work as I compile my code. Specifically, I'm getting a make: clang++: Command not found
error.
I've run sudo apt-get install llvm
, and also sudo apt-get install build-essential
and sudo apt-get update
. What do I have to do to get clang++ installed?
gcc clang
add a comment
|
I'm having trouble getting clang++ to work as I compile my code. Specifically, I'm getting a make: clang++: Command not found
error.
I've run sudo apt-get install llvm
, and also sudo apt-get install build-essential
and sudo apt-get update
. What do I have to do to get clang++ installed?
gcc clang
I'm having trouble getting clang++ to work as I compile my code. Specifically, I'm getting a make: clang++: Command not found
error.
I've run sudo apt-get install llvm
, and also sudo apt-get install build-essential
and sudo apt-get update
. What do I have to do to get clang++ installed?
gcc clang
gcc clang
edited Aug 10 '14 at 1:30
Eliah Kagan
96k25 gold badges256 silver badges413 bronze badges
96k25 gold badges256 silver badges413 bronze badges
asked Aug 10 '14 at 0:54
user313944user313944
1,2532 gold badges9 silver badges8 bronze badges
1,2532 gold badges9 silver badges8 bronze badges
add a comment
|
add a comment
|
3 Answers
3
active
oldest
votes
Installing the llvm
and build-essential
packages, as you have done, does not cause clang
or clang++
to be installed. For that, you must install one of the clang packages, depending on which version of clang
and clang++
you want.
16.04
In Ubuntu 16.04, your options are clang-3.5, clang-3.6, clang-3.7, and clang-3.8.
14.04
In Ubuntu 14.04, your options are clang-3.3 , clang-3.4 , and clang-3.5 .
You can install them in the Software Center, or with:
sudo apt-get update
sudo apt-get install clang-3.n
(Replacing n
with the desired sub-version, of course.)
12.04
If you're running Ubuntu 12.04, there's only one package that provides clang
and clang++
, so it's just called clang .
is there a chance to install clang from source without sudo? after making and make check-all, i tried to usemake install
, but lots of permission denied appeared.
– Amir
Nov 8 '14 at 21:59
"clang-3.5" link produces "404 Page not found."
– CW Holeman II
Feb 18 '15 at 2:24
2
clang-3.6 is available on their download page for ubuntu 14.04: llvm.org/releases/3.6.0/…
– David 天宇 Wong
Apr 10 '15 at 16:10
1
With 14.04 (trusty-updates),clang-3.6
is also available.
– Josh Milthorpe
Jul 25 '16 at 14:35
3
At least for me, on 14.04 withclang-3.8
installed, I added a soft link for clang++ (by default, I only had/usr/bin/clang++-3.8
). For example:sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
.
– rkersh
Jan 27 '17 at 17:34
|
show 4 more comments
18.04 (Bionic)
I visited http://apt.llvm.org/bionic/dists/ (i.e. bionic distributions).
I determined that 6.0 was the latest major version of the toolchain.
I assume that you'll want the linker, lld, also.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
This gives you binaries with the following names (and more, probably):
clang-6.0
clang++-6.0
lld-6.0
ld.lld-6.0
It also installs these packages (and more):
llvm-6.0
llvm-6.0-dev
llvm-6.0-runtime
17.04 (Artful)
Same as above. I'll repeat every line for convenient copy-paste.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/artful/ llvm-toolchain-artful-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
16.04 (Xenial)
The accepted answer already gives instructions for installing clang-3.8 on 16.04, but here's how to get clang-6.0:
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
add a comment
|
Installing Clang 9 on Ubuntu 18
sudo apt-get install clang-tools-9
It will also install llvm-9
For more information follow clang documentation.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f509218%2fhow-to-install-clang%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Installing the llvm
and build-essential
packages, as you have done, does not cause clang
or clang++
to be installed. For that, you must install one of the clang packages, depending on which version of clang
and clang++
you want.
16.04
In Ubuntu 16.04, your options are clang-3.5, clang-3.6, clang-3.7, and clang-3.8.
14.04
In Ubuntu 14.04, your options are clang-3.3 , clang-3.4 , and clang-3.5 .
You can install them in the Software Center, or with:
sudo apt-get update
sudo apt-get install clang-3.n
(Replacing n
with the desired sub-version, of course.)
12.04
If you're running Ubuntu 12.04, there's only one package that provides clang
and clang++
, so it's just called clang .
is there a chance to install clang from source without sudo? after making and make check-all, i tried to usemake install
, but lots of permission denied appeared.
– Amir
Nov 8 '14 at 21:59
"clang-3.5" link produces "404 Page not found."
– CW Holeman II
Feb 18 '15 at 2:24
2
clang-3.6 is available on their download page for ubuntu 14.04: llvm.org/releases/3.6.0/…
– David 天宇 Wong
Apr 10 '15 at 16:10
1
With 14.04 (trusty-updates),clang-3.6
is also available.
– Josh Milthorpe
Jul 25 '16 at 14:35
3
At least for me, on 14.04 withclang-3.8
installed, I added a soft link for clang++ (by default, I only had/usr/bin/clang++-3.8
). For example:sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
.
– rkersh
Jan 27 '17 at 17:34
|
show 4 more comments
Installing the llvm
and build-essential
packages, as you have done, does not cause clang
or clang++
to be installed. For that, you must install one of the clang packages, depending on which version of clang
and clang++
you want.
16.04
In Ubuntu 16.04, your options are clang-3.5, clang-3.6, clang-3.7, and clang-3.8.
14.04
In Ubuntu 14.04, your options are clang-3.3 , clang-3.4 , and clang-3.5 .
You can install them in the Software Center, or with:
sudo apt-get update
sudo apt-get install clang-3.n
(Replacing n
with the desired sub-version, of course.)
12.04
If you're running Ubuntu 12.04, there's only one package that provides clang
and clang++
, so it's just called clang .
is there a chance to install clang from source without sudo? after making and make check-all, i tried to usemake install
, but lots of permission denied appeared.
– Amir
Nov 8 '14 at 21:59
"clang-3.5" link produces "404 Page not found."
– CW Holeman II
Feb 18 '15 at 2:24
2
clang-3.6 is available on their download page for ubuntu 14.04: llvm.org/releases/3.6.0/…
– David 天宇 Wong
Apr 10 '15 at 16:10
1
With 14.04 (trusty-updates),clang-3.6
is also available.
– Josh Milthorpe
Jul 25 '16 at 14:35
3
At least for me, on 14.04 withclang-3.8
installed, I added a soft link for clang++ (by default, I only had/usr/bin/clang++-3.8
). For example:sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
.
– rkersh
Jan 27 '17 at 17:34
|
show 4 more comments
Installing the llvm
and build-essential
packages, as you have done, does not cause clang
or clang++
to be installed. For that, you must install one of the clang packages, depending on which version of clang
and clang++
you want.
16.04
In Ubuntu 16.04, your options are clang-3.5, clang-3.6, clang-3.7, and clang-3.8.
14.04
In Ubuntu 14.04, your options are clang-3.3 , clang-3.4 , and clang-3.5 .
You can install them in the Software Center, or with:
sudo apt-get update
sudo apt-get install clang-3.n
(Replacing n
with the desired sub-version, of course.)
12.04
If you're running Ubuntu 12.04, there's only one package that provides clang
and clang++
, so it's just called clang .
Installing the llvm
and build-essential
packages, as you have done, does not cause clang
or clang++
to be installed. For that, you must install one of the clang packages, depending on which version of clang
and clang++
you want.
16.04
In Ubuntu 16.04, your options are clang-3.5, clang-3.6, clang-3.7, and clang-3.8.
14.04
In Ubuntu 14.04, your options are clang-3.3 , clang-3.4 , and clang-3.5 .
You can install them in the Software Center, or with:
sudo apt-get update
sudo apt-get install clang-3.n
(Replacing n
with the desired sub-version, of course.)
12.04
If you're running Ubuntu 12.04, there's only one package that provides clang
and clang++
, so it's just called clang .
edited Mar 11 '17 at 19:02
Community♦
1
1
answered Aug 10 '14 at 1:29
Eliah KaganEliah Kagan
96k25 gold badges256 silver badges413 bronze badges
96k25 gold badges256 silver badges413 bronze badges
is there a chance to install clang from source without sudo? after making and make check-all, i tried to usemake install
, but lots of permission denied appeared.
– Amir
Nov 8 '14 at 21:59
"clang-3.5" link produces "404 Page not found."
– CW Holeman II
Feb 18 '15 at 2:24
2
clang-3.6 is available on their download page for ubuntu 14.04: llvm.org/releases/3.6.0/…
– David 天宇 Wong
Apr 10 '15 at 16:10
1
With 14.04 (trusty-updates),clang-3.6
is also available.
– Josh Milthorpe
Jul 25 '16 at 14:35
3
At least for me, on 14.04 withclang-3.8
installed, I added a soft link for clang++ (by default, I only had/usr/bin/clang++-3.8
). For example:sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
.
– rkersh
Jan 27 '17 at 17:34
|
show 4 more comments
is there a chance to install clang from source without sudo? after making and make check-all, i tried to usemake install
, but lots of permission denied appeared.
– Amir
Nov 8 '14 at 21:59
"clang-3.5" link produces "404 Page not found."
– CW Holeman II
Feb 18 '15 at 2:24
2
clang-3.6 is available on their download page for ubuntu 14.04: llvm.org/releases/3.6.0/…
– David 天宇 Wong
Apr 10 '15 at 16:10
1
With 14.04 (trusty-updates),clang-3.6
is also available.
– Josh Milthorpe
Jul 25 '16 at 14:35
3
At least for me, on 14.04 withclang-3.8
installed, I added a soft link for clang++ (by default, I only had/usr/bin/clang++-3.8
). For example:sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
.
– rkersh
Jan 27 '17 at 17:34
is there a chance to install clang from source without sudo? after making and make check-all, i tried to use
make install
, but lots of permission denied appeared.– Amir
Nov 8 '14 at 21:59
is there a chance to install clang from source without sudo? after making and make check-all, i tried to use
make install
, but lots of permission denied appeared.– Amir
Nov 8 '14 at 21:59
"clang-3.5" link produces "404 Page not found."
– CW Holeman II
Feb 18 '15 at 2:24
"clang-3.5" link produces "404 Page not found."
– CW Holeman II
Feb 18 '15 at 2:24
2
2
clang-3.6 is available on their download page for ubuntu 14.04: llvm.org/releases/3.6.0/…
– David 天宇 Wong
Apr 10 '15 at 16:10
clang-3.6 is available on their download page for ubuntu 14.04: llvm.org/releases/3.6.0/…
– David 天宇 Wong
Apr 10 '15 at 16:10
1
1
With 14.04 (trusty-updates),
clang-3.6
is also available.– Josh Milthorpe
Jul 25 '16 at 14:35
With 14.04 (trusty-updates),
clang-3.6
is also available.– Josh Milthorpe
Jul 25 '16 at 14:35
3
3
At least for me, on 14.04 with
clang-3.8
installed, I added a soft link for clang++ (by default, I only had /usr/bin/clang++-3.8
). For example: sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
.– rkersh
Jan 27 '17 at 17:34
At least for me, on 14.04 with
clang-3.8
installed, I added a soft link for clang++ (by default, I only had /usr/bin/clang++-3.8
). For example: sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++
.– rkersh
Jan 27 '17 at 17:34
|
show 4 more comments
18.04 (Bionic)
I visited http://apt.llvm.org/bionic/dists/ (i.e. bionic distributions).
I determined that 6.0 was the latest major version of the toolchain.
I assume that you'll want the linker, lld, also.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
This gives you binaries with the following names (and more, probably):
clang-6.0
clang++-6.0
lld-6.0
ld.lld-6.0
It also installs these packages (and more):
llvm-6.0
llvm-6.0-dev
llvm-6.0-runtime
17.04 (Artful)
Same as above. I'll repeat every line for convenient copy-paste.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/artful/ llvm-toolchain-artful-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
16.04 (Xenial)
The accepted answer already gives instructions for installing clang-3.8 on 16.04, but here's how to get clang-6.0:
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
add a comment
|
18.04 (Bionic)
I visited http://apt.llvm.org/bionic/dists/ (i.e. bionic distributions).
I determined that 6.0 was the latest major version of the toolchain.
I assume that you'll want the linker, lld, also.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
This gives you binaries with the following names (and more, probably):
clang-6.0
clang++-6.0
lld-6.0
ld.lld-6.0
It also installs these packages (and more):
llvm-6.0
llvm-6.0-dev
llvm-6.0-runtime
17.04 (Artful)
Same as above. I'll repeat every line for convenient copy-paste.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/artful/ llvm-toolchain-artful-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
16.04 (Xenial)
The accepted answer already gives instructions for installing clang-3.8 on 16.04, but here's how to get clang-6.0:
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
add a comment
|
18.04 (Bionic)
I visited http://apt.llvm.org/bionic/dists/ (i.e. bionic distributions).
I determined that 6.0 was the latest major version of the toolchain.
I assume that you'll want the linker, lld, also.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
This gives you binaries with the following names (and more, probably):
clang-6.0
clang++-6.0
lld-6.0
ld.lld-6.0
It also installs these packages (and more):
llvm-6.0
llvm-6.0-dev
llvm-6.0-runtime
17.04 (Artful)
Same as above. I'll repeat every line for convenient copy-paste.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/artful/ llvm-toolchain-artful-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
16.04 (Xenial)
The accepted answer already gives instructions for installing clang-3.8 on 16.04, but here's how to get clang-6.0:
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
18.04 (Bionic)
I visited http://apt.llvm.org/bionic/dists/ (i.e. bionic distributions).
I determined that 6.0 was the latest major version of the toolchain.
I assume that you'll want the linker, lld, also.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
This gives you binaries with the following names (and more, probably):
clang-6.0
clang++-6.0
lld-6.0
ld.lld-6.0
It also installs these packages (and more):
llvm-6.0
llvm-6.0-dev
llvm-6.0-runtime
17.04 (Artful)
Same as above. I'll repeat every line for convenient copy-paste.
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/artful/ llvm-toolchain-artful-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
16.04 (Xenial)
The accepted answer already gives instructions for installing clang-3.8 on 16.04, but here's how to get clang-6.0:
# grab the key that LLVM use to GPG-sign binary distributions
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-6.0 main"
sudo apt-get install -y clang-6.0 lld-6.0
edited Aug 14 '18 at 20:34
answered Aug 14 '18 at 20:26
BirchlabsBirchlabs
2712 silver badges5 bronze badges
2712 silver badges5 bronze badges
add a comment
|
add a comment
|
Installing Clang 9 on Ubuntu 18
sudo apt-get install clang-tools-9
It will also install llvm-9
For more information follow clang documentation.
add a comment
|
Installing Clang 9 on Ubuntu 18
sudo apt-get install clang-tools-9
It will also install llvm-9
For more information follow clang documentation.
add a comment
|
Installing Clang 9 on Ubuntu 18
sudo apt-get install clang-tools-9
It will also install llvm-9
For more information follow clang documentation.
Installing Clang 9 on Ubuntu 18
sudo apt-get install clang-tools-9
It will also install llvm-9
For more information follow clang documentation.
answered Sep 20 at 18:01
getThingsDonegetThingsDone
112 bronze badges
112 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f509218%2fhow-to-install-clang%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown