Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: GCC C++ Compiler Installation

  1. #1

    Default GCC C++ Compiler Installation

    Greetings, internet

    I am quite new to Linux, and am looking to install a c++ compiler. I run 11.4, and was told to look in the Software Manager for easy installation. I have no repositories installed, as the repositories in the Application sticky only applied to Suse installations through 11.3.
    I found the package "gcc45-c++" (Version Number 4.5.1_20...208-9.8) when I searched the Software Manager. I proceeded to install it, and had no problems, but when I looked in "applications", the compiler was not there. I'm aware that I may be revealing some great ignorance here, so I'll ask, should gcc appear? If not, how do I execute the program?

    Thank you in advance

  2. #2
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: GCC C++ Compiler Installation

    GCC is a command-based compiler. There are GUI frontends for it, but otherwise you will run GCC from the terminal.

  3. #3

    Default Re: GCC C++ Compiler Installation

    Ah, alright, that makes sense. How would I go about doing that, then?

  4. #4
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: GCC C++ Compiler Installation

    See the man pages for gcc and g++.

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Cool Re: GCC C++ Compiler Installation

    To Add the C++ development environment I would do the following:

    Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:

    Code:
           Development   
    
    [X] Base Development 
    [X] C/C++ Development
    Then Press the Accept button on the bottom right and allow these applications to install. There may be other patterns there you also would like to add. This will install many files required for each development you wish to use.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6

    Default Re: GCC C++ Compiler Installation

    I did as you instructed, and DDD has appeared in my Applications. Is that what I'm looking for, or should I be in the terminal, as chief sealth suggests? I also looked in the manual for gcc and g++. The manual says that there is no g++ entry, and the gcc entry just gives me options, nothing related to starting the compiler to write the code.

  7. #7

    Default Re: GCC C++ Compiler Installation

    I think I need to read up more on the gcc compiler. Thank you both for your help!

  8. #8
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    2,919

    Default Απ: GCC C++ Compiler Installation

    gcc-45-c++ is a command compiler, it has not graphical interface. I use gcc with Kwrite.
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1070 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  9. #9
    Join Date
    Nov 2010
    Location
    Ελλάδα(Αθήνα)-Россия (г. Красноярск)
    Posts
    2,919

    Default Απ: GCC C++ Compiler Installation

    Quote Originally Posted by stamostolias View Post
    gcc-45-c++ is a command compiler, it has not graphical interface. I use gcc with Kwrite.
    If you want something visual try with visual C++ but I do not know if it is available for openSUSE, maybe with WINE you can run it as VB.
    Πάντα Φιλικά, Στάμος.
    Desktop: openSUSE Leap 15||x86_64||Gnome 3.14 & KDE 5||AMD Ryzen 7 8 core||Nvidia GTX 1070 Ti Gaming Edition
    Γλώσσες Προγραμματισμού: C++, Qt developing.
    http://bit.ly/fT8Hfi

  10. #10
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    1,376

    Default Re: GCC C++ Compiler Installation

    What kind of applications do you plan to develop? There are several graphical IDEs available, but which would be best for you depends on your objective.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •