LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-20-2006, 12:27 AM   #1
Chuong
Member
 
Registered: Apr 2006
Posts: 161

Rep: Reputation: 30
Upgrading: how do I upgrade programs in Linux?


One of the program I'm trying to run requires GCC version 4.2.0 and my current GCC version is:

********************************************
gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
********************************************

I was wondering how I could use some command to automatically upgrade my GCC to version 4.2.0.

I thought:

#yum upgrade gcc

or

#rpm -Uvh gcc

would work, but those aren't the right commands I think.

Much appreciation in advance ,



Chuong.
 
Old 08-20-2006, 12:58 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
To update it via Yum you'll need to wait until Redhat update their repos. Alternatively you could build it from source but make sure you read any documentation properly first and gcc is a core package and if you mess it up you could easily break other stuff.
 
Old 08-20-2006, 01:23 AM   #3
Chuong
Member
 
Registered: Apr 2006
Posts: 161

Original Poster
Rep: Reputation: 30
OK, I guess I should wait maybe.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to upgrade programs in linux? Kilahchris Linux - Newbie 6 08-30-2004 03:37 PM
upgrading programs autkast Debian 1 12-04-2003 09:59 PM
Upgrading Programs aviceda Linux - Newbie 3 09-28-2003 01:51 AM
upgrading programs with RPM paladin Linux - Software 2 02-16-2003 12:12 AM
PHP Upgrade not Upgrading!? philiplawlor Linux - Software 0 01-21-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration