I've got a 2018 MacBook Pro 13" with Touch Bar and would like to install Ubuntu 18.04 Bionic (or Kubuntu) on it.
It boots fine from the USB stick (created per Ubuntu Tutorial "Create bootable USB stick on macOS"). But in Ubuntu (or Kubuntu), neither the keyboard nor the touchpad work ;-(
I've read the post Installing Ubuntu on MacBook Pro on ask ubuntu.
A bit later, I found the Gist "0 Linux-On-MBP-Late-2016.md". According to this, Keyboard and Touchpad just don't work during installation. "Fine"…
I now managed to repartition the mac's disk and install macOS High Sierra and Kubuntu on the system. But now I'm stuck at the Grub prompt :(
Would anyone maybe have a definitive guide? ;)
Getting the internal trackpad and keyboard to work with the 2018 Macbook pro is the least of your concern really. There are no drivers for the Apple SSD controller yet. So regardless of that fact, it won't let you install anything...
You can't install, the T2 Chip inside Macbook Pro, prevent you from writing on encrypted internal drive.
Your only option is to use Virtualbox or similar software
I can think of one ways around missing keyboard support during installation and until you can boot the system properly and install suitable input device drivers:
Use an external (USB) keyboard and (optionally) mouse.
Once you have that set up you can probe further and refer to other topics on this site (or elsewhere) or ask your own questions.