installing canon printer drivers on ubuntu 20.04 without running their bash script

So I really like canon color laser multi function printers – for their full duplex color printing, their copying, for full duplex scanning to a pdf on a usb stick (scanning to sane didn’t work the last time I looked), but certainly not for installing packages via a bash script as root…

So I spent some time today finding the relevant deb file (similar named RPM if you prefer).

Untar the tar ball you got from the canon website and then

# dpkg -i 64-bit_Driver/cnrdrvcups-ufr2-us_5.20-1_amd64.deb

then install the printer under the ubuntu settings / printers

odds are that your printers’ ppd is included in the above deb file, if you happen to have trouble with that, you can look through the PPD/Debian directory for your printers ppd file.