Or... Just use an OS that includes it by default. Way less convoluted, and I don't have to redo things on updates.
I don't like all the fluff that eOS adds. LineageOS is just clean android.
CalyxOS, lineage for microg...
There are options besides e.
Calyx is good but not officially available for as many devices. LineageOS is the most supported one. I don't trust random forum builds of smartphone OS - and they're too old/never existed anyways in case of my devices.