TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

C++

Install GCC C++ Compiler on OpenSuse

Overview

This tutorial outlines steps to Install GCC C++ compiler on an OpenSuse Linux machine. We can check whether the GCC compiler is installed on the system by entering the following command from the command line.

Launch Konsole

Issue the following command:

$ g++ -v 

g++ not found OpenSuse

To know the package, type the following command:

$ cnf g++

This command will output the packages the program g++ that can be found.

What is Zypper?

Zypper is a lightweight command-line package manager to install, update, view, and remove packages. We can also use this tool to manage repositories.

Install

We can install with the following command:

$ sudo zypper install gcc-c++

Install gcc on OpenSuse

This will list all the packages that will be installed on the machine.

gcc packages Install OpenSuse

Type ‘y’ to continue and install the software.

All the dependencies would be installed on the machine.

Install GCC OpenSuse

Once the installation is complete, we can check the g++ version command

$ g++ -v

 

GCC Version OpenSuse

That’s it.

—

C++ Tutorials

C++ Tutorials on this website:

https://www.testingdocs.com/c-coding-tutorials/

For more information on the current ISO C++ standard

https://isocpp.org/std/the-standard

Related Posts

sum of digits c program

C++ /

Sum of Digits of a Number C++ Program

C++ Hello World Program

C++ /

C++ Hello World Program

C++ /

Object-Oriented Programming Language Examples

C++ /

Object-Oriented Programming Features

C++ /

C++ Program to Find Quadratic Equation Roots

‹ Sum of Digits of a Number C++ Program

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version