Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Missing gcc on kubuntu


    I just install Kubuntu and when i try to make / make install i get message telling me that it cant find my gcc or cc when its "checking for"

    Ive done:
    sudo apt-get gcc
    "Invalid operation gcc..."

    sudo apt-get install gcc
    "Couldnt find package gcc..."

    sudo apt-get build-essential
    "Invalid operation build-essential..."

    sudo apt-get install build-essential
    "Couldnt find package build-essential..."

    Any ideas on where to look for a gcc :S

    I've google gcc's and am lost on what to do/get

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    NH, USA
    are you connected to the net? are you trying to install from the cd? post the output of
    cat /etc/apt/sources.list

  3. #3
    my output from sources.list is all commented out. I have the cd that i used to install in my drive but i dont see any lines having to do w/ accessing the CD. I dont have an internet connection atm on my linux laptop but i will later tonight i guess ill try again and uncomment the URL's.

    The thing that gets me is that under package manager it says that i have two gcc's installed.... gcc-3.3-base and gcc-4.0-base.

    Any ideas what is going on?

  4. $spacer_open
  5. #4
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    Execute this
    sudo apt-cdrom add
    sudo apt-get update
    sudo apt-get install build-essential
    apt-get will fetch build-essential package from Installation CD and install it in your machine.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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