I'm assuming you are using the 64-bit version of SL (Sabayon Linux)? [In future please always give as much information as possible about your installation -- hardware and software -- so that people will be able to offer appropriate advice.]
Unfortunately the package you want is not in Entropy so you'll have to use the Gentoo Portage package manager. The cnijfilter ebuilds (Portage build scripts) are a nightmare. Different versions of the cnijfilter ebuild (and different revisions of those different versions) install drivers for different Canon models, and the ebuilds for each version have been hacked by different people over the years and are often a mess (see e.g. Gentoo Bugzilla Bug Report No. 130645
which even has several revisions of the cnijfilter-3.40 ebuild you're interested in). So what I'm about to tell you will work if you're lucky, but be aware it may not. You'll need to set up your SL installation to use Portage for the first time, by using some commands that you would not use normally. The procedure, which you'll need to perform in a Konsole/Terminal window, is given below.
- Code: Select all
Password: <--- Enter the root user's password here, not your password.
# equo install git
# equo install subversion
# equo install emul-linux-x86-compat emul-linux-x86-baselibs emul-linux-x86-gtklibs
# emerge --sync
# layman -S
# layman -d sabayon
# layman -d sabayon-distro
# layman -a sabayon
# layman -a sabayon-distro
# layman -a gentoo-zh # 3rd-party overlay with cnijfilter-3.40
# layman -a zugaina # 3rd-party overlay with emul-linux-x86-bjdeps-0.1-r2
# layman -S
# USE="amd64 mg5200 net" emerge -1v =cnijfilter-3.40 emul-linux-x86-bjdeps # Omit net if printer connected via USB
# equo rescue spmsync # Tell Entropy what you did in Portage
I install cnijfilter and emul-linux-x86-bjdeps using a local overlay rather than third-party overlays, but you may as well try gentoo-zh and zugaina (although in Gentoo I have to use emul-linux-x86-bjdeps-0.4
, which isn't available in a third-party overlay as far as I know).
If all the above runs through correctly, fire up your Web browser, enter the address http://localhost:631/
in the address bar to view the CUPS Manager, and add the printer.