This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to uninstall pre-installed previous version and install new


On 05/08/14 10:37, Jonathan Wakely wrote:
On 5 August 2014 04:45, Syed Ahsan Ali Bokhari wrote:
My RHEL6.1 has pre installed gcc (GCC) 4.4.5 20110214 (Red Hat
4.4.5-6). I want to update it to latest version. I don't have red hat
subscription and therefore I'll have to install from source. How can I
uninstall this version
"yum erase gcc" but I would advise against doing that.

and install a more recent version of GCC.
It's a bad idea to replace the system compiler, just install a newer
version in a different path.
Specially if you attempt to remove it before having the new one ready,
as you won't be able to install from source (thus compilÂng) the new version
without a working compiler.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]