This Short Guide shows you Step-by-Step How to Install MariaDB Server Stable/Development Release for Ubuntu 12.04 Precise Pangolin LTS i386/Amd64 Desktop.
The MariaDB Foundation have Predisposed the Repositories for Several Linux Distros and between them is Present also that for Ubuntu.
Finally, to the article Bottom there is a Link to Guides for How to Getting-Started with MariaDB on Linux.

How to SetUp Repositories for MariaDB for Ubuntu Precise
Open Terminal Window
(Press “Enter” to Execute Commands)Cmd and Search “term”
In case first see: Terminal QuickStart Guide.
Install MariaDB Server:
sudo su -c "apt-get update && apt-get install mariadb-server"
Getting-Started with MariaDB on Linux
How to Install Google-Chrome Web Browser on Ubuntu