Jump to content

gcc (c compiler installation) tru Putty


avvllvva

Recommended Posts

Hi,

 

Is it possible to install gcc(c compiler) on server thru putty? If so what are the commands for it?

Also from where I can get gcc package, i already googled a lot but didn't get the exact one.

Any references from your side ?

 

Thanks in advance

 

What distro are you using? Can you not run

yum build-essentials
yum gcc
--
apt-get build-essentials
apt-get gcc
...

 

You can always ftp it from ftp://ftp.gnu.org/gnu/gcc/ with wget and untar and install it from there..

I've tried both, but showing error

-bash: yum: command not found
--
-bash: apt-get: command not found

 

 

 

Also I'm new to Linux, so can you please elborate on this,

 

yum build-essential
yum gcc
--
apt-get build-essential
apt-get gcc

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.