Fedora 18: C++ Compiler

This Blog post is about installing the C++ Compiler on Fedora 18. These steps are similar for other versions of Fedora OS.

Open your Terminal and run the following commands:

  • su
  • yum install gcc gcc-c++
  • yum -y update gcc
  • yum install glibc-devel
  • touch hello.cpp
  • vi hello.cpp
    • Your CPP code here
  • g++ ./hello.cpp
  • a.out

Leave a comment