LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-11-2008, 07:06 AM   #1
Tex-Twil
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
no gcc in repository ?


Hello,
Im using RHEL 4 and I installet apt to manage my packages. I have the following repository in my /etc/apt/sources.list:

Code:
### Dag RPM Repository for Red Hat Enterprise Linux
repomd http://dag.linux.iastate.edu/dag/redhat/el4/en/i386/ dag
I need to install a gcc compiler but it is not on the repository ? Is that normal ?

Thanks,
Tex
 
Old 02-11-2008, 07:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Dag (nice guy btw, met him a year back...) himself doesn't do core things like gcc, that's redhat's job. he does additional pacakges to provide extra functionality. there are no free mirrors for apt for rhel4 afaik, as you would need to subscribe to the redhat netowrk to get their updates.
 
Old 02-11-2008, 07:43 AM   #3
Tex-Twil
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
Dag (nice guy btw, met him a year back...) himself doesn't do core things like gcc, that's redhat's job. he does additional pacakges to provide extra functionality. there are no free mirrors for apt for rhel4 afaik, as you would need to subscribe to the redhat netowrk to get their updates.
so how can I get gcc for RHEL4 ?
 
Old 02-11-2008, 07:48 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
your distro cd's / dvd's will include it.
 
Old 02-11-2008, 08:04 AM   #5
Tex-Twil
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
your distro cd's / dvd's will include it.
Ah thanks. I used
Code:
system-config-packages
and my CDs.

Im so used to used only online repo from distribs like Debian that I didn't think about my CD

Thanks
 
Old 02-11-2008, 08:04 AM   #6
aot2002
Member
 
Registered: Dec 2003
Location: NY
Distribution: Ubuntu 7.10
Posts: 66

Rep: Reputation: 15
or you can download it from the internet searching for

gcc rpm

in google
 
Old 02-11-2008, 08:18 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,512

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://rpm.pbone.net/index.php3
has some rh-EL4 packages indexed.
gcc is here:
http://rpm.pbone.net/index.php3/stat....i386.rpm.html
Good luck!
 
Old 04-22-2009, 07:32 PM   #8
bghayad
LQ Newbie
 
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
OK, the http://rpm.pbone.net/index.php3 has a very good rpm. But in my machine which is redhat enterprise 5, there are alot of dependencies that need to be installed.

If I download low gcc version, then my current dependecies are higher, so a conflict. And same thing if I download high gcc.

The best thing is how to find a repository that can let me use yum in a good way, so it will find for the latest available gcc and gcc-c++ and based on that the repository will download and upgrade all the dependencies without need to worry about all of it. Really it is becoming very hard without repository.

I need a good repository for gcc and gcc-c++ that give me a chance to download a version > 4 for gcc and this repository will automatically update and download the needed dependencies.

Any advise?
Regards
Bilal
 
Old 04-23-2009, 07:28 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,512

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
@ bghayad
.... Yes, 'yum' should be used instead of downloading packages.

CentOS 5.x = Redhat EL 5.x
Please find the repo files in post # 2, 3 here

http://www.linuxquestions.org/questi.../?highlight=#2

A link to 'rpmfusion' ( recommended ) is included.
.....

Last edited by knudfl; 04-23-2009 at 07:30 AM.
 
  


Reply



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
Assigning a short to a double. Differences between gcc-2.95 and gcc-3.4.x _john_i_ Programming 2 01-12-2007 01:11 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
Creating CVS repository: cvs [import aborted]: attempt to import the repository enemorales Linux - Software 3 10-15-2004 04:30 PM
Kernel compiling: gcc-3.3 is 586, should be gcc-3.3 386 Erik Plaggenmar Linux - Software 0 10-01-2004 11:38 AM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 08:21 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