LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2011, 12:18 AM   #1
tiyamartin
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
help


i have downloaded gcc-4.6.0.tar.bz2 to my desktop in fedora how to install them??
 
Old 06-04-2011, 12:22 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
No. You should always use your distribution's package management system first and only install from source if you can't find what you need in the repositories. Ironically, you couldn't install gcc from source without a C compiler anyway. Look at the documentation for Fedora to learn about the package manager.

Also, please use decent thread titles in future. When you post here, you're given the following useful pieces of advice that you shouldn't ignore:

Please try to be as descriptive as possible. A subject that accurately describes your problem will make your thread much more likely to get a quick response.

Bad: "Help Me!!" or "URGENT"
Good: "Why is my mouse pointer wrong?"
Best: "Mouse pointer distorted on XFree86 4.3 with Geforce FX 5200"
 
Old 06-04-2011, 12:43 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
Quote:
i have downloaded gcc-4.6.0.tar.bz2 to my desktop in fedora how to install them??
you do not

you use the package manager in fedora 15 ( fedora 14 and 15 are the only supported versions)
Code:
su -
yum groupinstall "Development Tools" "Development Libraries"
that will install gcc 4.6 on fedora 15 and the NEEDED software that gos with it.

please rename the thread to something besides "help"
using "help" is a very good way to get banned or the thread deleted .



also this
"i have downloaded gcc-4.6.0.tar.bz2 to my desktop"
to your Desktop?????
this is NOT Microsoft Windows !
Firefox's DEFAULT FOLDER in fedora IS ~/Downloads
that is SET as DEFAULT . why did you change it ?
 
Old 06-04-2011, 12:53 AM   #4
tiyamartin
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
package manager

sorry i am new to linux..what is package manager??what shold i do??mine is fedora 11..
 
Old 06-04-2011, 12:58 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Fedora 11 is unsupported, so you should install a newer version first. Then, you should read the documentation at http://docs.fedoraproject.org/. It looks like the "Deployment Guide" is particularly useful.
 
Old 06-04-2011, 01:01 AM   #6
tiyamartin
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
which one is new version??so i cant compile anything in fedora11??
 
Old 06-04-2011, 01:05 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you visited the Fedora homepage, you'd see that 15 is the latest version. There's not really any reason to use an unsupported version, because it'll have no security updates, outdated software and there will be better hardware support in a newer version.

What are you trying to compile? If it's some other software, then you may have to use an older version that's compatible with the versions of libraries found on Fedora 11.

Last edited by Nylex; 06-04-2011 at 01:09 AM.
 
Old 06-04-2011, 01:09 AM   #8
tiyamartin
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
actually i dnt have time to reinstall fedora 15..i have to compile and run some programs here..but they are telling..no gcc command
 
Old 06-04-2011, 01:10 AM   #9
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Again, see the documentation and John's post above. Specifically, what are you trying to compile?
 
Old 06-04-2011, 01:15 AM   #10
tiyamartin
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
am a btech student..we r doing some programs in lab on OS pgms like msgq,pipe,n/w ing..while i was learning these pgms by doing nd compiling..these pblms are occuring..
 
Old 06-04-2011, 02:28 AM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
some and by some i mean only a few -- like 3 to 6 of mirrors still have the very old and dead fedora 11 repos still on the sites

so some of the mirrors in the fedora 11 default install??? might ??? still work

BUT the software IS OLD AND OUT OF DATE
so NO NEW programs will run on fedora 11 ( no firefox 4 )

open a terminal
and run the commands i posted
-----------------
su -
-- then your root password you MUST USE THE ROOT PASSWORD !!! ---
yum groupinstall "Development Tools" "Development Libraries"
-----------------

but if you do not have the dependencies for this unnamed program it might not be possible to build it on fedora 11

please install the current supported versions
fedora 14 or fedora 15

also fedora 11 DOSE NOT HAVE gcc 4.6 ( i think fedora 11 had gcc 4.3 )
only fedora 15 dose !!!
also READ the gcc porting guide
programs made a 2 years or longer ago used gcc 4.1 and there have been changes -- BIG changes
you might need to hack any older program to get it to build on gcc 4.3 and newer
-to start
http://gcc.gnu.org/gcc-4.3/porting_to.html
http://gcc.gnu.org/gcc-4.4/porting_to.html

Last edited by John VV; 06-04-2011 at 02:34 AM.
 
  


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




All times are GMT -5. The time now is 08:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration