I was on the Ubuntu Software Center and downloaded "C, C++ and Objective-C compiler(clang)." I didn't see it anywhere so i went to "search your computer and online resources" and didn't see it anywhere. I went to Ubuntu Software Center and went to the "installed" tab and searched for it. But it was not there (by the way it said that it was installed when I searched for it again except this as in the all software center in Ubuntu software center). This was weird and annoying so I went to terminal and entered open C, C++ and Objective-C compiler
but it said that it couldn't get a file descriptor referring to the console. All helpful answers will be fully appreciated.
BTW my question is not a duplicate of "How can I know what programs some apt-get package contains?" as suggested by muru as one question is asking about how can they know what a package contains where my question is asking about where my download even is, obvious difference
gcc
,c++
,clang
. If I try those I get fatal error because I did not provide them a file to compile. If they are not installed Ubuntu reports that they are not installed and suggests how to install them. – nobody Jul 03 '17 at 05:51clang
is the package name. Now use the other question see what files it provides. – muru Jul 03 '17 at 05:52clang
andclang++
commands but they're missing? If so, please let us know, and also typeclang
in a terminal without pressing Enter and press Tab twice (that'll show you what commands you have that start withclang
, if any). *Or* if you don't know how to use Clang, then this is an XY problem and you should tell us about what you want to do/learn. – Eliah Kagan Jul 03 '17 at 06:16clang file.c
or from some IDEs to compile stuff – derHugo Jul 03 '17 at 11:14