Announcement

Collapse
No announcement yet.

C++ compiler

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    C++ compiler

    Hello,
    I am very new to linux, I hav installed kubuntu from Cd which i got shipped to home for free of cost.

    can u plz tell me how to install gcc compiler or any other substitute program to compile c & c++ programs.



    MInd u!! iam very new to linux so, please gimme step by step procedure.

    #2
    Re: C++ compiler

    Install the package build-essential. That should get you going for your most basic (and I do mean most basic) compiling needs.
    Jucato's Data Core

    Comment


      #3
      Re: C++ compiler

      Can u please tell me how to install build-essentials...
      pl pl

      Comment


        #4
        Re: C++ compiler

        You would use a package manager (a software installer more or less)
        Adapt package manager is the one in Kubuntu:
        https://wiki.ubuntu.com/AdeptHowto
        Once you get used to the *buntu way of installing software, you may wish to try text-based package management:
        https://help.ubuntu.com/community/InstallingSoftware

        Comment


          #5
          Re: C++ compiler

          Adept shows gcc base 3.0,4.o...r installed on my computer.
          But bash says:

          bash:g++: command not found?
          what to do?

          Comment


            #6
            Re: C++ compiler

            did you install the package build-essential? it will provide all the basic tools you need to get started

            Comment


              #7
              Re: C++ compiler

              As mentioned earlier Adept shows gcc +... are already installed event then unable compile my c & c++ prog.

              Comment


                #8
                Re: C++ compiler

                As jucato and I mentioned earlier, need to install the package build-essential as you don't have g++ or any of the other tools needed installed yet, gcc-base is not (unfortunately) a package with anything useful in until you install more stuff (just some basic basic docs it looks)

                Comment

                Working...
                X