How To Install zinnia-utils on Ubuntu 18.04

In this tutorial we learn how to install zinnia-utils on Ubuntu 18.04. zinnia-utils is utils for the zinnia library

Introduction

In this tutorial we learn how to install zinnia-utils on Ubuntu 18.04.

What is zinnia-utils

zinnia-utils is:

Zinnia provides a simple, customizable, and portable dynamic OCR system for hand-written input, based on Support Vector Machines.

Zinnia simply receives user pen strokes as coordinate data and outputs the best matching characters sorted by SVM confidence. To maintain portability, it has no rendering functionality. In addition to recognition, Zinnia provides a training module capable of creating highly efficient handwriting recognition models.

This package provide utils for zinnia library.

There are three methods to install zinnia-utils 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 zinnia-utils Using apt-get

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

sudo apt-get update

After updating apt database, We can install zinnia-utils using apt-get by running the following command:

sudo apt-get -y install zinnia-utils

Install zinnia-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install zinnia-utils using apt by running the following command:

sudo apt -y install zinnia-utils

Install zinnia-utils 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 zinnia-utils using aptitude by running the following command:

sudo aptitude -y install zinnia-utils

How To Uninstall zinnia-utils on Ubuntu 18.04

To uninstall only the zinnia-utils package we can use the following command:

sudo apt-get remove zinnia-utils

Uninstall zinnia-utils And Its Dependencies

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

sudo apt-get -y autoremove zinnia-utils

Remove zinnia-utils Configurations and Data

To remove zinnia-utils configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge zinnia-utils

Remove zinnia-utils configuration, data, and all of its dependencies

We can use the following command to remove zinnia-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge zinnia-utils

References

Summary

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