How To Install foo2oak on Fedora 34

foo2oak is Linux printer driver for OAKT protocol (HPLJ1500 etc.)

Introduction

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

What is foo2oak

foo2oak is a printer driver for printers that use the Oak Technology (now Zoran) OAKT protocol for their print data, such as the HP Color LaserJet 1500, Kyocera KM-1635 and the Kyocera KM-2035. 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, OAKT printers are raster printers which happen to use a fairly efficient wire protocol which was developed by Oak Technology and licensed by some printer manufacturers for at least some of their product lines. OAKT 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 foo2oak on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install foo2oak.

Install foo2oak 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 foo2oak using dnf by running the following command:

sudo dnf -y install foo2oak

Install foo2oak 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 foo2oak using yum by running the following command:

sudo yum -y install foo2oak

How To Uninstall foo2oak on Fedora 34

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

sudo dnf remove foo2oak

foo2oak Package Contents on Fedora 34

/usr/bin/foo2oak
/usr/bin/foo2oak-wrapper
/usr/bin/oakdecode
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/a802c564165cd912bd5394ced2271ed9b4b589
/usr/lib/.build-id/17
/usr/lib/.build-id/17/7ed65284414d0c44e1009907991c6f96245160
/usr/share/cups/model/Generic-OAKT_Printer.ppd.gz
/usr/share/cups/model/HP-Color_LaserJet_1500.ppd.gz
/usr/share/cups/model/Kyocera-KM-1635.ppd.gz
/usr/share/cups/model/Kyocera-KM-2035.ppd.gz
/usr/share/doc/foo2oak
/usr/share/doc/foo2oak/ChangeLog
/usr/share/doc/foo2oak/README
/usr/share/foomatic/db/source/driver/foo2oak-z1.xml
/usr/share/foomatic/db/source/driver/foo2oak.xml
/usr/share/foomatic/db/source/opt/foo2oak-BitsPerPlane.xml
/usr/share/foomatic/db/source/opt/foo2oak-ColorMode.xml
/usr/share/foomatic/db/source/opt/foo2oak-ICM.xml
/usr/share/foomatic/db/source/opt/foo2oak-InputSlot.xml
/usr/share/foomatic/db/source/opt/foo2oak-MediaType.xml
/usr/share/foomatic/db/source/opt/foo2oak-z1-Duplex.xml
/usr/share/foomatic/db/source/opt/foo2oak-z1-InputSlot.xml
/usr/share/foomatic/db/source/opt/foo2oak-z1-MediaType.xml
/usr/share/foomatic/db/source/opt/foo2oak-z1-PageSize.xml
/usr/share/foomatic/db/source/printer/Generic-OAKT_Printer.xml
/usr/share/foomatic/db/source/printer/HP-Color_LaserJet_1500.xml
/usr/share/foomatic/db/source/printer/Kyocera-KM-1635.xml
/usr/share/foomatic/db/source/printer/Kyocera-KM-2035.xml
/usr/share/licenses/foo2oak
/usr/share/licenses/foo2oak/COPYING
/usr/share/man/man1/foo2oak-wrapper.1.gz
/usr/share/man/man1/foo2oak.1.gz
/usr/share/man/man1/oakdecode.1.gz

References

Summary

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