How To Install foo2xqx on Fedora 34

foo2xqx is Linux printer driver for HP LaserJet M1005 MFP

Introduction

In this tutorial we learn how to install foo2xqx on Fedora 34.

What is foo2xqx

foo2xqx is an open source printer driver for printers that use the HP/Software Imaging “XQX” stream wire protocol for their print data, such as the HP LaserJet P1005, HP LaserJet P1006, HP LaserJet P1505, and the HP LaserJet M1005 MFP, These printers are often erroneously referred to as winprinters or GDI printers. However, Microsoft GDI only mandates the API between an application and the printer driver, not the protocol on the wire between the printer driver and the printer. In fact, “XQX” printers are raster printers which happen to use a very efficient wire protocol which was developed by HP/Software Imaging. “XQX” is just one of many wire protocols that are in use today, such as Postscript, PCL, Epson, ZjStream, etc. Users of this package are requested to visit the author’s web page at http

We can use yum or dnf to install foo2xqx on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install foo2xqx.

Install foo2xqx on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install foo2xqx using dnf by running the following command:

sudo dnf -y install foo2xqx

Install foo2xqx on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install foo2xqx using yum by running the following command:

sudo yum -y install foo2xqx

How To Uninstall foo2xqx on Fedora 34

To uninstall only the foo2xqx package we can use the following command:

sudo dnf remove foo2xqx

foo2xqx Package Contents on Fedora 34

/usr/bin/foo2xqx
/usr/bin/foo2xqx-wrapper
/usr/bin/xqxdecode
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/d8643899fb406edfc3e4a6874db62aaaf4aadb
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/e9002eff5bdd6db40f3dcd9cdfae14322d3ca1
/usr/share/cups/model/HP-LaserJet_M1005_MFP.ppd.gz
/usr/share/cups/model/HP-LaserJet_M1120_MFP.ppd.gz
/usr/share/cups/model/HP-LaserJet_M1319_MFP.ppd.gz
/usr/share/cups/model/HP-LaserJet_P1005.ppd.gz
/usr/share/cups/model/HP-LaserJet_P1006.ppd.gz
/usr/share/cups/model/HP-LaserJet_P1007.ppd.gz
/usr/share/cups/model/HP-LaserJet_P1008.ppd.gz
/usr/share/cups/model/HP-LaserJet_P1505.ppd.gz
/usr/share/cups/model/HP-LaserJet_P1505n.ppd.gz
/usr/share/cups/model/HP-LaserJet_P2014.ppd.gz
/usr/share/cups/model/HP-LaserJet_P2014n.ppd.gz
/usr/share/cups/model/HP-LaserJet_P2035.ppd.gz
/usr/share/cups/model/HP-LaserJet_P2035n.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_CP1025nw.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_M1132s_MFP.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_M1212nf_MFP.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_M12a.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_M12w.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_P1102.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_P1102w.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_P1566.ppd.gz
/usr/share/cups/model/HP-LaserJet_Pro_P1606dn.ppd.gz
/usr/share/doc/foo2xqx
/usr/share/doc/foo2xqx/ChangeLog
/usr/share/doc/foo2xqx/README
/usr/share/foomatic/db/source/driver/foo2xqx.xml
/usr/share/foomatic/db/source/opt/foo2xqx-Density.xml
/usr/share/foomatic/db/source/opt/foo2xqx-Duplex.xml
/usr/share/foomatic/db/source/opt/foo2xqx-InputSlot.xml
/usr/share/foomatic/db/source/opt/foo2xqx-MediaType.xml
/usr/share/foomatic/db/source/opt/foo2xqx-Resolution.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_M1005_MFP.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_M1120_MFP.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_M1319_MFP.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P1005.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P1006.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P1007.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P1008.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P1505.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P1505n.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P2014.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P2014n.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P2035.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_P2035n.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_CP1025nw.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_M1132s_MFP.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_M1212nf_MFP.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_M12a.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_M12w.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_P1102.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_P1102w.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_P1566.xml
/usr/share/foomatic/db/source/printer/HP-LaserJet_Pro_P1606dn.xml
/usr/share/licenses/foo2xqx
/usr/share/licenses/foo2xqx/COPYING
/usr/share/man/man1/foo2xqx-wrapper.1.gz
/usr/share/man/man1/foo2xqx.1.gz
/usr/share/man/man1/xqxdecode.1.gz

References

Summary

In this tutorial we learn how to install foo2xqx on Fedora 34 using yum and dnf.