The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Ubuntu 8 SPARC edition problem jumbled text at install garethmob Ubuntu 3 04-12-2009 09:49 AM
Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server docflyboy UNIX for Dummies Questions & Answers 0 02-20-2009 09:58 PM
Ubuntu 8.04: Upgrade or clean install? iBot UNIX and Linux RSS News 0 05-08-2008 03:30 PM
Use Wubi to install Ubuntu without partitioning iBot UNIX and Linux RSS News 0 04-10-2008 05:10 AM
Ubuntu Linux Toolbox: 1000+ Commands For Ubuntu And Debian Power ... - PR-Inside.com iBot UNIX and Linux RSS News 0 12-19-2007 09:00 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-20-2009
sparkle sparkle is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 3
how to install g++ in ubuntu?

on giving the command sudo apt-get install build-essentials
it asks for password then the following is displayed

Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package build-essentials


Last edited by Yogesh Sawant; 04-20-2009 at 06:57 AM.. Reason: added code tags
  #2 (permalink)  
Old 04-20-2009
dr.house dr.house is offline
Registered User
  
 

Join Date: Dec 2008
Location: Switzerland
Posts: 229
Quote:
Originally Posted by sparkle View Post
apt-get install build-essentials
How about build-essential (not plural but singular) ...
  #3 (permalink)  
Old 04-20-2009
sparkle sparkle is offline
Registered User
  
 

Join Date: Apr 2009
Posts: 3
i tried build-essential............it is the same
  #4 (permalink)  
Old 04-20-2009
pludi's Avatar
pludi pludi is online now Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,939
What's in your sources.list? What's the result of apt-get update? Are there any other error messages?
  #5 (permalink)  
Old 04-20-2009
Housni Housni is offline
Registered User
  
 

Join Date: Apr 2009
Location: Sri Lanka
Posts: 22
You've created a thread like this before, right?
sudo apt-get install build-essential not working

Are you familiar with what a software repository is in Linux?

In Ubuntu, 'apt-get' or 'aptitude' is known as the package manager.
This package manager installs packages for you, among other things.
It knows what packages are available thanks to a cached file (usually in xml) stored on your hard disk.
It generates this cache file by searching the repositories everytime you run `sdo apt-get update`
The list of repositories is stored in the text file: /etc/apt/sources.list

What's happening with you is that the repositories you currently have don't contain the build-essential package. So you have to add the right repository to the list you already have. That's why I added that link in my post in your first thread.

Which part of this are you having a problem with? If you can tell us exactly what the problem is, I'm sure one of us, in this thread, can help you out faster.
  #6 (permalink)  
Old 04-20-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,993
please read here:
Ubuntu:Intrepid -
and here:
Ubuntu:Intrepid -
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0