Jump to content

gcc (c compiler installation) tru Putty


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

Link to comment
https://forums.phpfreaks.com/topic/190882-gcc-c-compiler-installation-tru-putty/
Share on other sites

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

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.