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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
07-27-2008, 05:13 AM
|
#1
|
LQ Newbie
Registered: Jul 2008
Location: Surat, India
Distribution: linux 5
Posts: 5
Rep:
|
yum install gcc...
command 'yum install gcc' has the following response..
----------------------------------------
[root@localhost judge]# yum install gcc
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
No Match for argument: gcc
Nothing to do
--------------------------------------
While I tried to create a/c in RHN it did not respond by asking for password of and again despite having given true password...Isn't there any other way to have gcc ?
|
|
|
07-27-2008, 05:23 AM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
If you are paying for support, call redhat
|
|
|
07-27-2008, 07:55 AM
|
#3
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
Looks like he hasn't registered his version of Red Hat and he has no repositories set-up either... would be my guess it didn't work because he isn't actually scanning any repositories... could be wrong tho... registering his version of Red Hat may actually help .
Last edited by r3sistance; 07-27-2008 at 07:56 AM.
|
|
|
07-27-2008, 05:32 PM
|
#4
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Please don't send me email questions, that's not why I allow email through
Quote:
This is the message:
Thank you for the respense...I did 'yum install gcc', but it had response that you are not RHN registered person so I down loaded gcc from private source in tar.gz2 formate and tried to instal it but faq had it that some command will have to be given. Folowing are the commands...
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in &&
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-4.0.3/configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--enable-shared \
--enable-threads=posix \
--enable-__cxa_atexit \
--enable-clocale=gnu \
--enable-languages=c,c++,objc,f95,ada,java,treelang &&
make bootstrap &&
make -k check &&
../gcc-4.0.3/contrib/test_summary
Now I want to know as to how to execute above commands.
|
Looks to me like the faq gave you the commands - execute them from a terminal session. I can't say if they need to be executed as root or not - I'd try as your normal user until you get permision problems.
|
|
|
07-27-2008, 09:21 PM
|
#5
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,415
|
Either get your system registered with RH if you have paid for it, or go with the free version (Centos).
It'll be easier and you'll be able to get updates.
|
|
|
All times are GMT -5. The time now is 09:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|