From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4196 invoked by alias); 5 Aug 2014 09:22:29 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 4138 invoked by uid 89); 5 Aug 2014 09:22:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f181.google.com Received: from mail-ie0-f181.google.com (HELO mail-ie0-f181.google.com) (209.85.223.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 05 Aug 2014 09:22:25 +0000 Received: by mail-ie0-f181.google.com with SMTP id rp18so692244iec.26 for ; Tue, 05 Aug 2014 02:22:23 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.176.202 with SMTP id ck10mr45761555igc.2.1407230543115; Tue, 05 Aug 2014 02:22:23 -0700 (PDT) Received: by 10.64.29.194 with HTTP; Tue, 5 Aug 2014 02:22:23 -0700 (PDT) In-Reply-To: References: Date: Tue, 05 Aug 2014 09:22:00 -0000 Message-ID: Subject: Re: How to uninstall pre-installed previous version and install new From: Syed Ahsan Ali Bokhari To: Jonathan Wakely Cc: gcc-help Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00028.txt.bz2 Thanks Jonathan for your suggestions. On Tue, Aug 5, 2014 at 1:37 PM, 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. -- Syed Ahsan Ali Bokhari Electronic Engineer Research & Development Division Pakistan Meteorological Department H-8/2, Islamabad. Phone # off +92519250361 Cell # +923155145014 Fax # +92519250368 www.pmd.gov.pk