Find the answer to your Linux question:
Results 1 to 9 of 9
I have installed Linux OS but I'm not able to track GCC inside... how do I download or find it if already exist and therefore install it?...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6

    Question Installing GCC

    I have installed Linux OS but I'm not able to track GCC inside... how do I download or find it if already exist and therefore install it?

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    Which distribution of Linux have you installed?
    Linux User #453176

  3. #3
    Linux Newbie egan's Avatar
    Join Date
    Feb 2009
    Location
    Mountain View, CA
    Posts
    132
    What distro are you running?

    If you are running a derivative of Debian (like Ubuntu), then you can do:
    sudo apt-get install build-essential

  4. #4
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6
    Quote Originally Posted by Kieren View Post
    Which distribution of Linux have you installed?
    UBUNTU 8.04 (Hardly)
    Kernel
    2.6.24-25-generic

    In system info it says about GCC version 4.2.4 but I cannot find it...

  5. #5
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6
    Quote Originally Posted by egan View Post
    What distro are you running?

    If you are running a derivative of Debian (like Ubuntu), then you can do:
    sudo apt-get install build-essential
    I suppose the above is for the terminal... well I wrote it but then when I hit enter it asks me for a pass and non of the keys in the keyboard type anything...

  6. #6
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    It is asking for your password as the command sudo is accessing the super-user (sudo = super-user do). The command above that egan gave you will install a package that contains software for compiling source code including gcc

    Nothing appears on the screen when you type for security. Just enter your password and press enter.

    What do you want to install gcc for? Is there another program that you're trying to install?
    Linux User #453176

  7. #7
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6
    Quote Originally Posted by Kieren View Post
    It is asking for your password as the command sudo is accessing the super-user (sudo = super-user do). The command above that egan gave you will install a package that contains software for compiling source code including gcc

    Nothing appears on the screen when you type for security. Just enter your password and press enter.

    What do you want to install gcc for? Is there another program that you're trying to install?
    yeah.. you were right, I typed the pass and worked... well I need the gcc for a project I've got in my college... do you mind PM it to you to tell me if it is a different alternative to compile it?

  8. #8
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    We prefer it of you keep things in the forum as it may help other people out in the future. I was just making sure you needed a compiler as when people first come to Linux they often don't know about the package manager and think they have to compile all the programs they want from source
    Linux User #453176

  9. #9
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6
    Quote Originally Posted by Kieren View Post
    We prefer it of you keep things in the forum as it may help other people out in the future. I was just making sure you needed a compiler as when people first come to Linux they often don't know about the package manager and think they have to compile all the programs they want from source
    ok... check out if you want my current problem I posted it a few minutes ago... about the fork and parent child-process

Posting Permissions

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