The recommended way of installing Kodi on Ubuntu and its derivatives (Linux Mint, Kali Linux, Pop! OS etc) is to use official Team Kodi PPA. Installing Kodi on Ubuntu-based distributions with Team Kodi PPA
1.2 Installing binary add-ons (PVR, audio decoders, audio encoders, screensavers, visualizations, audio DSP).1 Installing Kodi on Ubuntu-based distributions with Team Kodi PPA.