Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I am new to linux...when i try to install gcc in ubuntu 8.04...i am getting the below error. root@sharief-desktop:/home/sharief# sudo apt-get install build-essential Reading package lists... Done Building dependency ...
  1. #1
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308

    [SOLVED] software installing problem

    Hello,
    I am new to linux...when i try to install gcc in ubuntu 8.04...i am getting the below error.

    root@sharief-desktop:/home/sharief# sudo apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package build-essential is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package build-essential has no installation candidate
    root@sharief-desktop:/home/sharief#


    ...i dont know whats the error is...can anyone tell me what to do for this?
    Thanks in advance...

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    sudo apt-get update
    sudo apt-get install build-essential
    In case your machine doesn't have internet access, execute this
    Code:
    sudo apt-cdrom add
    sudo apt-get update
    sudo apt-get install build-essential
    Above code will ask for Ubuntu LiveCD. Insert it and press 'y'.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    If I were you I'd edit /etc/apt/sources.list

    sudo gedit /etc/apt/sources.list
    uncomment everything before deb other than the first one (if you uncomment that it'll always ask for a cd when you install things)

    Then run

    sud apt get update
    lastly

    sudo apt-get install build-essentials
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  4. #4
    Linux User
    Join Date
    Aug 2008
    Location
    Trichy,India
    Posts
    308
    yes Its working now...Thanks devils casper.....Thanks for all...
    Thanks in advance...

Posting Permissions

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