Re: installing the gcc package HOWTO - Fedora Core 1

From: Phisherman (nobody_at_noone.com)
Date: 02/22/04


Date: Sun, 22 Feb 2004 20:47:04 GMT

On Sun, 22 Feb 2004 18:16:24 GMT, Lenard <lenard@127.0.0.1> wrote:

>On Sun, 22 Feb 2004 17:51:14 +0000, Phisherman wrote:
>
>> On Sun, 22 Feb 2004 17:32:51 GMT, Phisherman <nobody@noone.com> wrote:
>>
>>>I have the three Fedora Core installation CDs and no (direct) Internet
>>>access. How can I install the C compiler gcc from these CDs?
>>
>> I wanted to add that I am using command prompt only. I've been reading
>> the man pages on rpm, and would like to know the proper command switches
>> to install the package (I don't even know the name of the gcc package!)
>> I know I will need to mount the CD drive first, but that's about it.
>> Thanks!
>
>First check and see if you do in fact have to load the gcc RPM's;
>
>$ rpm -qa | grep gc
>
>Sample output;
>
>$ rpm -qa | grep gc | sort
>compat-gcc-7.3-2.96.118
>compat-gcc-c++-7.3-2.96.118
>gcc-3.2.2-5
>gcc-c++-3.2.2-5
>gcc-g77-3.2.2-5
>gcc-gnat-3.2.2-5
>gcc-java-3.2.2-5
>libgcc-3.2.2-5
>libgcj-3.2.2-5
>libgcj-devel-3.2.2-5
>
>Notice how all the gcc* and libgc* RPM's match the same version level
>(important) and the compat-gcc* RPM's are for backward compatibility
>reasons.
>
>Note your versions may very.
>
>Copy the RPM's from the CD's to one location (if needed) and install them
>all at once; rpm -Uvh *.rpm

Thanks.
Here's my output...

[root@Blue root]# rpm -qa | grep gc
libgcj-3.3.2-1
libgcc-3.3.2-1
[root@Blue root]# gcc
bash: gcc: command not found

I'm not familiar with these names. Is libgcj a Java library? Is
libgcc the standard C library?
Which RPMs do I need to copy from the CDs? (There are LOTS of rpms).
I have about 2 GB disk space left, and do not intend to do heavy C
programming (yet).



Relevant Pages

  • Re: No rpm, no sound, no zip, and no kdm image.
    ... Whatever command I try to execute it prints the ... Rpm seems to work when I start the system in run level 1. ... >but as root, it still gave the same error. ...
    (Fedora)
  • Re: Why is LD_LIBRARY_PATH unset in FC6 and not in FC5
    ... root has special precautions about prepended library paths. ... This makes for an easily relocatable rpm, because the rpm can drop a text file in there that points to wherever the rpm has been located. ... I'm a normal user (not root) and I'm creating software for my own use. ... This environment variable may have changed names with newer versions of gcc. ...
    (Fedora)
  • RE: RPM? Reset permissions
    ... i seem to get this error when i run the command: ... sh: line 2: package: command not found ... Is RPM not configured correctly? ... [root@satsuki root]# chmod o-x /bin/bash ...
    (Fedora)
  • Re: Who can tell me what does this mean?
    ... runs the command as enquoted as root. ... The remaining part of the rpm command is path and *.rpm ... Am 14.07.2009 20:12, schrieb Nathan Huang: ...
    (Fedora)
  • rpm and wget -c
    ... just played with the command rpm --showrc to see just what ftp'ish ... command is used by rpm (and hence yum). ... Trying other mirror. ...
    (Fedora)