Skip to content

Instantly share code, notes, and snippets.

@c-tamias35
Last active November 24, 2023 19:12
Show Gist options
  • Save c-tamias35/68945da73796353279271e4ea55b5068 to your computer and use it in GitHub Desktop.
Save c-tamias35/68945da73796353279271e4ea55b5068 to your computer and use it in GitHub Desktop.
Tips to install Brother MFC printer driver on Fedora 38
#!/bin/bash
# Example for installing MFC-J625DW printer on Fedora 38.
# N.B. Brother Driver Install Tool alone is not enough!
# This can fix the status message "Idle - "File "/usr/lib/cups/filter/XXXXXXX" not available: No such file or directory"
# This file content is useful specifically for Fedora 38. May or may not work on other versions or similar OSes.
# Below commands are based on Brother website FAQs. Navigate to hyperlinks "FAQs & Troubleshooting" > Linux > Printer :
# https://support.brother.com/g/b/faqlist.aspx?c=ca&lang=en&prod=mfcj625dw_all&ftype3=100257
# Install libraries, dependancies and drivers (including libnsl(?) and libusb-compat-0.1-0.1.8-4 for the scanner)
sudo dnf install glibc.i686 libstdc++.i686 perl-File-Copy policycoreutils policycoreutils-python-utils libnsl libusb
# Adjust "PATH_TO_INSTALLER" and "MFC-J625DW" below to your case when executing the Driver Install Tool (downloaded from Brother website for your printer model).
sudo PATH_TO_INSTALLER/linux-brprinter-installer-2.2.3-1 MFC-J625DW
# Symlink required for 64-bits systems
sudo ln -s /usr/lib/cups /usr/lib64/cups
# SELinux allow command
sudo restorecon -RFv /usr/lib/cups/filter/*
sudo restorecon -RFv /usr/lib64/cups/filter/*
sudo setsebool -P cups_execmem 1
# Reboot your computer, then turn on your Brother printer.
# Check your printer presence in CUPS @ http://localhost:631/printers .
# Good luck!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment