LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-03-2007, 11:38 AM   #1
DarshW
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
Installing GCC for Kubuntu


Hello,

I am new to using the Linux operating system and just completed an install of Kubuntu 7.04 on my HP Laptop. I downloaded the .ISO image so as to complete the necessary install. However, I noticed the gcc compiler was not installed with the install of Kubuntu.

I am not familiar with the process involved in installing new components into Linux and I hope someone can point me in the right direction to successfully install the gcc compiler. Would it be possible to use the CD or would I require a connection to the Internet?

Thanks.

Update:

When I enter the command "sudo apt-get install build-essential" I get the following error message:

"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.

Last edited by DarshW; 07-03-2007 at 11:52 AM.
 
Old 07-03-2007, 12:16 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You probably need the internet. I'm not sure if build-essential is on the Kubuntu CD or not, but that is the correct package.
 
Old 07-03-2007, 12:30 PM   #3
DarshW
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I thought as much. If I am to use the Internet would I have to use Adept to update and install the necessary packages. I find myself running into some circular dependencies. If someone can post a guide as to what would be the most ideal method of installation I would really appreciate it.
 
Old 07-03-2007, 03:07 PM   #4
DarshW
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Instead of installing gcc using the Internet, would it be possible to use another Linux distro CD to install gcc instead? For example could I use the gcc package as included within a Fedora or Debian distro?
 
Old 07-03-2007, 03:13 PM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Try adding the install cd to apt using apt-cdrom. http://ubuntuforums.org/showthread.php?t=332402 The forums claim that build-essential is on the install CD.
 
Old 07-03-2007, 05:58 PM   #6
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 84
If you install kdevelop, it should install the gcc compiler and related libs automatically.
I'm a newb myself so don't take my word for it. Personally, I use the Adept installer.
 
Old 07-04-2007, 11:59 AM   #7
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
build-essential is on the CD, just put the CD in and run the commands (in a terminal/console)
Code:
sudo apt-cdrom add
sudo apt-get update
sudo apt-get install build-essential
then you should have make, gcc, g++, etc. installed
 
Old 07-05-2007, 11:04 AM   #8
DarshW
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by binary_y2k2
build-essential is on the CD, just put the CD in and run the commands (in a terminal/console)
Code:
sudo apt-cdrom add
sudo apt-get update
sudo apt-get install build-essential
then you should have make, gcc, g++, etc. installed
Thanks very much! That worked perfectly and I definitely do have the necessary build components installed.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing kubuntu on ubuntu with kubuntu CD coolblue Ubuntu 6 06-30-2008 10:53 AM
Installing Kubuntu vertozia Ubuntu 2 09-23-2006 02:57 AM
help with installing kubuntu adamf4i Linux - General 6 08-07-2006 07:08 AM
Installing kubuntu on ubuntu with kubuntu CD coolblue Linux - Newbie 1 07-12-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration