0

I can't sudo apt-get because I need an ethernet driver. I can't install the driver because I apparently don't have gcc.

"cat /proc/version" tells me that I have gcc version 9.3.0 but how do I use this gcc? When I try to dpkg debians I am told that I am missing gcc. I can't run 'make'. Can anyone please help me out of this pickle?

  • 3
    AFAIK `/proc/version` just tells you what version of gcc was used to build the kernel - it does not indicate that the gcc package is currently installed. You will probably need to use one of the methods described here: [How to install GCC without internet connection and what do I have to keep in mind when installing GCC?](https://askubuntu.com/questions/587804/how-to-install-gcc-without-internet-connection-and-what-do-i-have-to-keep-in-min) – steeldriver Dec 11 '20 at 18:03
  • The Ubuntu Desktop installer includes a "Try Ubuntu" environment specifically so you can test your hardware before installing, avoiding a pickle like this. Installing GCC without a network connection can be tedious and frustrating. It might be much easier to borrow (or purchase) a cheap USB-to-Ethernet dongle. – user535733 Dec 11 '20 at 18:05
  • 1
    You can always connect with a USB cable to a phone and install everything you like. – Pilot6 Dec 11 '20 at 18:05

0 Answers0