I'm fairly new to linux. I know some bits and pieces here and there, but am still very noobish. I just bought a new printer--Canon MG621--and thought everything was working fine, until I tried to print and my printer did nothing. The printer shows up under "printers" as the default printer and I can select it when I am trying to print something but then nothing happens. I tried downloading and installing the drivers from Canon's website, but I couldn't get it to work.
This is what I tried, from what I found for searching google, but it didn't work:
~/Downloads/cnijfilter2-5.20-1-rpm$ sudo su -c "./install.sh"
Canon Inkjet Printer Driver Version 5.20 Copyright CANON INC. 2001-2015
================================================== Command executed = rpm -Uvh ./packages/cnijfilter2-5.20-1.x86_64.rpm rpm: RPM should not be used directly install RPM packages, use Alien instead! rpm: However assuming you know what you are doing... error: Failed dependencies: /bin/sh is needed by cnijfilter2-5.20-1.x86_64 cups is needed by cnijfilter2-5.20-1.x86_64 libc.so.6()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libc.so.6(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libc.so.6(GLIBC_2.3)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libc.so.6(GLIBC_2.7)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libcups.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libcupsimage.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libdl.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libdl.so.2(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libpthread.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libusb-1.0.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libxml2.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by cnijfilter2-5.20-1.x86_64 rtld(GNU_HASH) is needed by cnijfilter2-5.20-1.x86_64
just like the guide stated but get this output still:
Command executed = rpm -Uvh ./packages/cnijfilter2-5.20-1.x86_64.rpm rpm: RPM should not be used directly install RPM packages, use Alien instead! rpm: However assuming you know what you are doing... error: Failed dependencies: /bin/sh is needed by cnijfilter2-5.20-1.x86_64 cups is needed by cnijfilter2-5.20-1.x86_64 libc.so.6()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libc.so.6(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libc.so.6(GLIBC_2.3)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libc.so.6(GLIBC_2.7)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libcups.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libcupsimage.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libdl.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libdl.so.2(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libpthread.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libusb-1.0.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libxml2.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64 libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by cnijfilter2-5.20-1.x86_64 libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by cnijfilter2-5.20-1.x86_64 rtld(GNU_HASH) is needed by cnijfilter2-5.20-1.x86_64
I found a guide on converting a .rpm to a .deb but it didn't work. It said it was an "unknown type of package". The file isn't a .rpm, it is -rpm, does that make a difference?
The file I downloaded off of Canon's website was cnijfilter2-5.20-1-rpm.tar.gz I extracted that and then tried to work from the extracted folder. Did I do that wrong?
I managed to find the proper .deb file from the shop.canon site, not the driver and support site that came up in my google search. Then the guide you posted worked just fine. Thanks for your help everyone.