How do I install GCC compiler on Linux?
9 views (last 30 days)
Show older comments
MathWorks Support Team
on 19 Jan 2018
Answered: MathWorks Support Team
on 19 Jan 2018
How do I install GCC compiler on Linux?
Accepted Answer
MathWorks Support Team
on 19 Jan 2018
The GNU compiler (GCC) is included with many Linux distributions. However, if it is not, then run the following command based the Linux distribution. Sudo permissions will be needed for the installation.
DEBIAN BASED (Ubuntu, Debian):
apt-get install gcc
OR
sudo apt-get install gcc
RPM BASED (Fedora, Red Hat):
yum install gcc
OR
sudo yum install gcc
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!