Offline method of installing GCC?

I just installed 12.3, and my ethernet (RTL8111E) needs a bit more work.
I have found the driver to install it, but when installing I get errors like “install: command not found”, or “make, commmand not found”.
My research tells me I need a compiler, like gcc, to run these commands.
After researching myself for possible solutions here and at other sites, I have only found solutions to install gcc using yast or yum that point to an online repository, which I cannot access as my ethernet is not yet running.

Is there an offline way to install gcc, so I can finish the install of my RTL8111E ethernet?

On 2013-06-10, dreadnot <dreadnot@no-mx.forums.opensuse.org> wrote:
>
> I just installed 12.3, and my ethernet (RTL8111E) needs a bit more work.
> I have found the driver to install it, but when installing I get errors
> like “install: command not found”, or “make, commmand not found”.
> My research tells me I need a compiler, like gcc, to run these
> commands.

IIRC gcc is installed by default openSUSE 12.3, but not ‘make’. Are you absolutely sure you need to install the ethernet
driver? Can you quickly run the following commands and output the results inside CODE tags (iconified by octothorpes):


sh-4.2$ su
sh-4.2$ ifconfig

Well, according to what I can find on the Internet, your network card should be supported by kernel 2.6 already, and now we have 3.7.10!
So there should be no need to install a driver.

Not sure if that’s your problem, but there is a known bug in openSUSE 12.3 which causes no network on first boot after the installation.
A simple reboot should fix that and make your network work.
Reference: https://www.suse.com/releasenotes/i386/openSUSE/12.3/RELEASE-NOTES.en.html#idm1278581604

You could also try to run YaST->Network Devices->Network Settings and switch to “Traditional method with ifup” under “Global Options”.
And check if your card is recognized in there. If yes, it should work.

I shall try both of these, thanks! I’ll get back to you both once I get off work today.

On 2013-06-10 19:06, dreadnot wrote:
>
> I shall try both of these, thanks! I’ll get back to you both once I get
> off work today.

If you need to install things without network, you could do it with the
command “rpm”. You put the package somewhere, like an external usb flash
device. Then you do:


rpm --install /media/thething/fullpackagename.rpm

It will maybe complain it needs something else as dependency; you have
to add all packages it depends to the same command line, pointing to
where they actually are. It can even download from the network, although
it is not your case.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

To build a kernel driver a bit more is needed than just one package. My advice usually is to install the Linux Kernel Development pattern, since that pulls in everything needed for building kernel drivers.

On 2013-06-10 22:26, Knurpht wrote:

> To build a kernel driver a bit more is needed than just one package. My
> advice usually is to install the Linux Kernel Development pattern, since
> that pulls in everything needed for building kernel drivers.

But he can not even start the package manager, there is no network to
pull the patterns from.

And I never said one package, read my message more carefully.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Went into YaST and found that the network was set to static, changed to DHCP and fixed. I feel so silly. This is my first time using YaST.

On 2013-06-12 03:26, dreadnot wrote:
>
> Went into YaST and found that the network was set to static, changed to
> DHCP and fixed. I feel so silly. This is my first time using YaST.

Oh :-o

At least you solved your problem :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 06/12/2013 03:26 AM, dreadnot wrote:
> This is my first time using YaST.

wow…it is one of the best reasons to use openSUSE… strong voodoo!!


dd

My guess is that you tinkered with the settings to get it working. From now on, remember that Yast did not only made in working, it showed you what was wrong !!