Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Offline method of installing GCC?

  1. #1

    Default 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?

  2. #2

    Default Re: Offline method of installing GCC?

    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):

    Code:
    sh-4.2$ su
    sh-4.2$ ifconfig

  3. #3

    Default Re: Offline method of installing GCC?

    Quote Originally Posted by dreadnot View Post
    I just installed 12.3, and my ethernet (RTL8111E) needs a bit more work.
    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/i3...#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.

  4. #4

    Default Re: Offline method of installing GCC?

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

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Offline method of installing GCC?

    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:

    Code:
    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)

  6. #6
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,841
    Blog Entries
    14

    Default Re: Offline method of installing GCC?

    Quote Originally Posted by robin_listas View Post
    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:

    Code:
    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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Offline method of installing GCC?

    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)

  8. #8

    Default Re: Offline method of installing GCC?

    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.

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Offline method of installing GCC?

    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 :-)


    --
    Cheers / Saludos,

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

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Offline method of installing GCC?

    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

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •