how to install g++ in ubuntu?


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu how to install g++ in ubuntu?
# 1  
Old 04-20-2009
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  
Old 04-20-2009
Quote:
Originally Posted by sparkle
apt-get install build-essentials
How about build-essential (not plural but singular) ... Smilie
# 3  
Old 04-20-2009
i tried build-essential............it is the same
# 4  
Old 04-20-2009
What's in your sources.list? What's the result of apt-get update? Are there any other error messages?
# 5  
Old 04-20-2009
You've created a thread like this before, right? Smilie
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  
Old 04-20-2009
please read here:
Ubuntu:Intrepid -
and here:
Ubuntu:Intrepid -
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Install Tensorflow on Ubuntu

Hi, Please, how can fix this error: (myvenv)root@graphene-121:~# pip install --upgrade tensorflow Downloading/unpacking tensorflow Cannot fetch index base URL Simple index Could not find any downloads that satisfy the requirement tensorflow Cleaning up... No distributions at all... (8 Replies)
Discussion started by: chercheur111
8 Replies

2. Ubuntu

Anyone install Autosys on Ubuntu?

I am a developer. A lot of the clients I work for use the Autosys scheduler. In order to educate myself more I would like to install this on my Ubuntu laptop. I have 16.04 btw (pretty sure, don't have it with me atm) Any feedback would be appreciated. Before I purchase an install. ... (0 Replies)
Discussion started by: cwegescheide
0 Replies

3. Ubuntu

Re-install Ubuntu 14.04 from system with Ubuntu on it

I need to re-install ubuntu on a system with ubuntu 14.04 already installed. I have the cd but can not seem to boot from it or find the installer. Is there a way to re-install from the command line or how do I do a fresh re-install? Thank you :) ---------- Post updated at 10:13 AM... (2 Replies)
Discussion started by: cmccabe
2 Replies

4. Ubuntu

Installation??? How to install Ubuntu on windows 7

guys tell me steps to install ubunto of linux kali over windows 7 (0 Replies)
Discussion started by: Roshan4u
0 Replies

5. Ubuntu

How to Install TCSH package in Ubuntu 11?

I am trying to install tcsh package in ubuntu 11 When i tried to invoke the tcsh,i was prompted to contact administrator to install tcsh package. Since i am also the admin on my system its my job to install tcsh :D I have downloaded tcsh package named "tcsh-6.17.00.tar", since i don not have... (12 Replies)
Discussion started by: animesharma
12 Replies

6. Ubuntu

What is the easiest way to install Ubuntu?

I am planning to dual boot Windows XP and Ubuntu 9.04, I have already burned Ubuntu into a CD and have also downloaded the ISO. But when I go to My Computer to start the installation, a different icon appears. And when I open it with ISO Buster, it opens up separately. I'm confused on what to... (5 Replies)
Discussion started by: Anna Hussie
5 Replies

7. Ubuntu

Ubuntu Ultimate install from system.

I want to install Ubuntu Ultimate 2.9. I downloaded ISO form its site and burnt it on DVD and tried to install it. But my DVD reader is not working properly so installation fails in between it. I have another OS as Windows. Can any body tell that if I can install Ubuntu Ultimate directly from... (8 Replies)
Discussion started by: nixhead
8 Replies

8. Ubuntu

unable to install package on Ubuntu

Hi all, I am working on Ubuntu 7.10 and I want to install libssl-dev_0.9.8a-7ubuntu0.13_i386.deb. So tryied it with apt-get command but getting the following error-- Then I downloaded .deb file and attempt to install it with package installer but again unable to install it and getting the... (3 Replies)
Discussion started by: smartgupta
3 Replies

9. Ubuntu

XP and Linux (Ubuntu) on same disk, Can I install Ubuntu on not-yet partitioned portion of disk?

My PC (Esprimo, 3 yeas old) has one hard drive having 2 partitions C: (80 GB NTFS, XP) and D: (120 GB NTFS, empty) and and a 200 MB area that yet is not-partitioned. I would like to try Ubuntu and to install Ubuntu on the not-partitioned area . The idea is to have the possibility to run... (7 Replies)
Discussion started by: C.Weidemann
7 Replies

10. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies
Login or Register to Ask a Question