To be brutally honest, historically FreeCAD Ubuntu packages haven't worked in a long time. This is due to the complexity of 3rd party dependencies involved. Consequently, we get a ton of invalid bug reports. The recommendation is to either use the PPA, AppImage, Snap, or Flatpak.