How To Install printer-driver-oki on Ubuntu 18.04

In this tutorial we learn how to install printer-driver-oki on Ubuntu 18.04. printer-driver-oki is printer driver for OKI Data printers

Introduction

In this tutorial we learn how to install printer-driver-oki on Ubuntu 18.04.

What is printer-driver-oki

printer-driver-oki is:

CUPS filters and drivers supporting OKI Data printers.

This driver is known to support these printers:

  • OKI 24 Pin
  • OKI 9 Pin
  • OKI B2200 / B2400 PCL
  • OKI B4000 / B400 / MB400 PCL
  • OKI B4000 / B400 / MB400 PS
  • OKI B6250 / B6500
  • OKI B6300
  • OKI B710 / B720 / B730
  • OKI B930
  • OKI C330 / C530
  • OKI C3600
  • OKI C5550 MFP / MC560 MFP / CX2032 MFP / CX2033 MFP
  • OKI C6050 / C6150
  • OKI C610 / C710 / C711
  • OKI C830 / MC860 MFP / CX2633 MFP
  • OKI C910 / C9600 / C9650
  • OKI MB471 MFP / MB491 MFP
  • OKI MC361 MFP / MC561 MFP / CX2731 MFP

This package contains the CUPS filter driver and PPDs for the supported printers.

There are three methods to install printer-driver-oki on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install printer-driver-oki Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install printer-driver-oki using apt-get by running the following command:

sudo apt-get -y install printer-driver-oki

Install printer-driver-oki Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install printer-driver-oki using apt by running the following command:

sudo apt -y install printer-driver-oki

Install printer-driver-oki Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install printer-driver-oki using aptitude by running the following command:

sudo aptitude -y install printer-driver-oki

How To Uninstall printer-driver-oki on Ubuntu 18.04

To uninstall only the printer-driver-oki package we can use the following command:

sudo apt-get remove printer-driver-oki

Uninstall printer-driver-oki And Its Dependencies

To uninstall printer-driver-oki and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove printer-driver-oki

Remove printer-driver-oki Configurations and Data

To remove printer-driver-oki configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge printer-driver-oki

Remove printer-driver-oki configuration, data, and all of its dependencies

We can use the following command to remove printer-driver-oki configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge printer-driver-oki

References

Summary

In this tutorial we learn how to install printer-driver-oki package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.