LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help (https://www.linuxquestions.org/questions/linux-newbie-8/help-884451/)

tiyamartin 06-03-2011 11:18 PM

help
 
i have downloaded gcc-4.6.0.tar.bz2 to my desktop in fedora how to install them??

Nylex 06-03-2011 11:22 PM

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"

John VV 06-03-2011 11:43 PM

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 ?

tiyamartin 06-03-2011 11:53 PM

package manager
 
sorry i am new to linux..what is package manager??what shold i do??mine is fedora 11..

Nylex 06-03-2011 11:58 PM

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.

tiyamartin 06-04-2011 12:01 AM

which one is new version??so i cant compile anything in fedora11??

Nylex 06-04-2011 12:05 AM

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.

tiyamartin 06-04-2011 12:09 AM

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

Nylex 06-04-2011 12:10 AM

Again, see the documentation and John's post above. Specifically, what are you trying to compile?

tiyamartin 06-04-2011 12:15 AM

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

John VV 06-04-2011 01:28 AM

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


All times are GMT -5. The time now is 01:20 AM.