The following tutorial will teach you how to install or upgrade MariaDB 10.6 on Ubuntu 22.04 Jammy Jellyfish or 20.04 Focal Fossa LTS using MariaDB’s APT mirror for the latest LTS version.
Source: LXer – Install Latest MariaDB 10.6 LTS on Ubuntu 22.04/20.04