2018/04/15

Installing Ubuntu 17.10 on a 2013 13" MacBook Air: Wifi

Today I am remembering why I decided to give Mac OS X a try back in 2002: I got tired of spending most of my time configuring linux drivers. I thought the situation might have improved in the interim, and it probably has. Unfortunately, the universe of extant hardware is huge, and it's hard to fill all of the holes. Anyway, today I'm trying to replace macOS with Ubuntu 17.10 on my 2013 13" MacBook Air. Most of the installation has gone smoothly, with the main exception being Wifi. After more than an hour of flailing I found this, and it appears to have worked:

BCM43142 WiFi driver in Ubuntu. | How to install BCM43142 WiFi Driver in Linux

I had to copy a lot of packages from the Ubuntu installer thumb drive, not just the two mentioned in the article. The reason was that the Ubuntu installer didn't install gcc 7 or its supporting packages. Here are the packages that I needed to copy from the installer thumb drive. All files were located under .../pool/main:
  • bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu3_amd64.deb
  • dkms_2.3-3ubuntu3_all.deb
  • gcc_7.2.0-1ubuntu1_amd64.deb
  • gcc-7_7.2.0-8ubuntu3_amd64.deb
  • libasan4_7.2.0-8ubuntu3_amd64.deb
  • libatomic1_7.2.0-8ubuntu3_amd64.deb
  • libc6-dev_2.26-0ubuntu2_amd64.deb
  • libc-dev-bin_2.26-0ubuntu2_amd64.deb
  • libcilkrts5_7.2.0-8ubuntu3_amd64.deb
  • libgcc-7-dev_7.2.0-8ubuntu3_amd64.deb
  • libitm1_7.2.0-8ubuntu3_amd64.deb
  • liblsan0_7.2.0-8ubuntu3_amd64.deb
  • libmpx2_7.2.0-8ubuntu3_amd64.deb
  • libquadmath0_7.2.0-8ubuntu3_amd64.deb
  • libtsan0_7.2.0-8ubuntu3_amd64.deb
  • libubsan0_7.2.0-8ubuntu3_amd64.deb
  • linux-libc-dev_4.13.0-16.19_amd64.deb
  • make_4.1-9.1_amd64.deb