GNU/Linux Ubuntu 20.04 Canon PIXMA MG2520/MG2522/MG2525 Printer Setup – Step by step Guide
The linked Tutorial shows you Step-by-Step How to Install Canon PIXMA MG2520/MG2522/MG2525 Printer in Ubuntu 20.04 Focal LTS GNU/Linux Desktop.
And the Canon PIXMA MG2520/MG2522/MG2525 Ubuntu Driver Setup It’s quick and easy because it only involves running a few Basic Shell Commands.
Especially relevant: after the Driver Installation to achieve the Printer Setup follow guidance to Add Printer!
Finally, included in the guide you find also instructions to QuickStart with Canon Scanning on Ubuntu.

Canon PIXMA MG2520/MG2522/MG2525 Printer Ubuntu Installation Guide