answersLogoWhite

0


Best Answer

Run (from a terminal):

sudo apt-get install gcc build-essential

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you install gcc compiler in Ubuntu?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can you run C programes in ubuntu 10.10 without any gcc compiler?

Source programs don't run, obviously, so you should install the compiler first.


What command do you use to find the version of the GCC compiler?

gcc --version


You have installed the openSUSE 11.1 on your PC but the gcc command is not working there then what should you do?

this only happen if o.s. is not installed completely with compiler options.for it just install the c compiler from the install option.it will work. thank u.


Difference between gcc compiler and other or benefits of gcc over c compiler?

gcc is a c compiler among many other things. It can also be used to compile code in other languages. gcc is a fairly advanced compiler and is used to compile Linux along with most other free(as in free speech) software.


How compiler do compilation?

Use a compiler program, such as bcc, gcc, javac, etc.


What is the difference between GCC compiler and turbo c compiler?

1. The Gcc compiler cna support multiple languages such as c,c++,Java,Fortran,Pascal etc.... Whereas in turbo c cpmpiler,it doesn't support multiple languages. 2. GCC compiler is a free software,... Whereas in turbo c cpmpiler , it is not a free software. 3. The GCC compiler is is a portable compiler,it runs on most plateform avilable today... Whereas in turbo c cpmpiler, it is not a portable compiler.


If during compilation in CC compiler changes the name of the function ie func to 2314ufdifunc what to do so that the compiler will use the same name given by the user?

set the environment variables CC=gcc export CC then it takes the compiler as gcc


Does ubuntu include c compiler?

yes


Is NotePad Plus Plus a compiler?

Notepad++ is a text editor, not a compiler. You can however, enter source code into Notepad++ and then compile it with a compiler such as GCC.


What is the name of the C compiler used by Linux?

gcc is the most common C-compiler for GNU/Linux platform.


How do you get C?

To use c you need a text editor and a compiler such as gcc.


Does Red Hat Enterprise Linux support the GCC compiler?

Yes.