[ubuntu-in] install gcc

2009-02-27 Thread satheesh arun
hai, is i need to learn all the commands of linux for install gcc.
-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] install gcc

2009-02-27 Thread Fabian Enos
sudo apt-get install gcc

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] install gcc

2009-02-27 Thread consoleart
Fabian Enos wrote:
 sudo apt-get install gcc

   
:-) a perfect reply...this is all it takesmade me smile..:-

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] install gcc

2009-02-27 Thread Manish Sinha
Fabian Enos wrote:
 sudo apt-get install gcc

   
This installs the compiler but not the development headers. *glibc6-dev* 
is not a dependency, but is actually a recommendation.
The all-in-one command should be.

sudo apt-get install build-essential

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] install gcc

2009-02-27 Thread Mehul Ved
On Fri, Feb 27, 2009 at 4:58 PM, consoleart console...@gmail.com wrote:
 Fabian Enos wrote:
 sudo apt-get install gcc
 :-) a perfect reply...this is all it takesmade me smile..:-

Without internet?

-- 

You're a creature of the night, Michael. Wait'll Mom hears about
this. -- from the movie T...

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] install gcc

2009-02-27 Thread Manish Sinha
Mehul Ved wrote:
 On Fri, Feb 27, 2009 at 4:58 PM, consoleart console...@gmail.com wrote:
   
 Fabian Enos wrote:
 
 sudo apt-get install gcc
   
 :-) a perfect reply...this is all it takesmade me smile..:-
 

 Without internet?

   
gcc, glibc etc are all provided in the CD, just that glibc-dev is not 
installed. You don't need internet for installing it.
In fact the complete *build-essential* package is provided in the CD. I 
did this when I installed Ubuntu in lab a year back.

Regards,
Manish

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] install gcc

2009-02-27 Thread Fabian Enos
Ah beaten to the reply :(. The build-essential package also should
install all the required packages. Read the other replies :)

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in


Re: [ubuntu-in] install gcc

2009-02-27 Thread Manish Sinha
Fabian Enos wrote:
 I believe that gcc comes preloaded with Ubuntu but I can be mistaken.
 WHat you shoud do is try compiling a .c file and see what happens.
   
Gcc comes preloaded with ubuntu. Just the development headers are not 
installed. You can do this by downloading the glibc6-dev package or get 
it from the CD/DVD
 You can also try 'geany' which is an IDE for C, C++, etc which can
 help you to compile, execute, debug, etc the source code.

   
Awesome IDE, I use it all the time. It has great support for PHP which 
is the language I work on. Simple and lightweight with no fat dependencies.

Regards,
Manish

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in