Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I currently dont have the cd/dvd of RHEL 5. But i need to install gcc. I have been searching all day but wasnt able to find any rpm that is related to RHEL5. I download the following file
gcc-3.0.4.tar.gz
and extracted it, Then i run the following command
[root@WAN-Admin gcc-3.0.4]# ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /root/new/gcc-3.0.4 using "mt-frag"
/tmp/cNf11430/cNf11430.pos: line 7: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Now i am really hanged as what to do now. I added rpmfusion as my yum repo, i searched rpmpbone.net for gcc file for RHEL5 but it seems its not there for this version.
[root@WAN-Admin gcc-3.0.4]# gcc
bash: gcc: command not found
[root@WAN-Admin gcc-3.0.4]# rpm -q gcc
package gcc is not installed
[root@WAN-Admin gcc-3.0.4]#
USE YUM (console), or software manager (gui) for that.
(search for gcc in there, and install it: it will download the rpm's for you, incl. dependencies.)
YUM is the build in package manager under RedHat Enterpise series.
sidenote:
If you would have read the supplied/online manual, you would have known this
(unless you use an illegal copy where you cannot use RHEL repositories.)
i was able to install GCC. Actually i wanted to install rdesktop from source, for this i needed gcc. I am glad i was able to do it though i didnt had any subscribtion.
Actually i am new to linux, i didnt know Redhat El-5 was propreitry. I was under the impression that linux is free :-(
But you know what, its feels so good now. I was able to do something that, when i searched over the internet seemed impossible :-)
Gnu/Linux is free, however some distributions bundle it with a support contract (like Redhat does).
You pay for the support only.
RHEL is such a bundled distribution.
A free alternative is CentOS, which is the same as RHEL but without the support part from RedHat.
(the software is the same though)
Hi guys, quik question, I am not that familiar with RHEL, however, I know that it is the commercial version of their distro's, but is it not possible to make use of Fedora repo's seeing it is from the same company?
tricky some might some might not.. very dependent on the package itself, since the RHEL codebase is not on the same progression as Fedora is.
I mean, RHEL is based on an older version of Fedora, and not the current few releases.
Secondly, it's BASED, meaning it's not a direct repackage of Fedora (whatever version they based it on), it's has many parts of fedora, but some parts are changed, and some parts are added (e.g. redhat specific tools, you don't find in Fedora).. also some patches are inplace, which are not found in Fedora. Fedora changes every 6 months, while RHEL changes every 2 to 4 years.
RHEL is far more stable and tested, compared to Fedora.
I would advice you NOT to use Fedora RPM's. if you want something that isn't inside the main repo, compile it yourself from source, and either make a rpm out of it, for later reuse.
that way you won't polute the base, with experimental stuff, thus breaking the stability.
on my cent 5.5 install there are a few fedora 9 and 11 rpm's
BUT they have been FULLY TESTED , and not system files. A few games and a few fonts and one icon set
i like the fedora "echo" ( take that back i used the echo-icon-theme-0.3.3.tar.bz2)
but you can NOT use fedora rpms for gcc, autotools, gtk, qt , none for Gnome or KDE
they are not compatible
So inotherwords it would be similar to saying RHEL is similar to Debian lenny and then fedora would be more like debian testing / experimental that after extensive testing merge with the stable branch. Sorry for hogging the thread, congrats on getting your compiler up and running.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.