How To Install python-tegaki on Ubuntu 18.04

In this tutorial we learn how to install python-tegaki on Ubuntu 18.04. python-tegaki is core Python module of Tegaki

Introduction

In this tutorial we learn how to install python-tegaki on Ubuntu 18.04.

What is python-tegaki

python-tegaki is:

Tegaki is an ongoing project which aims to develop a free and open-source modern implementation of handwriting recognition software, that is suitable for both the desktop and mobile devices, and that is designed from the ground up to work well with Chinese and Japanese.

This package provide the core Python module.

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

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

sudo apt-get update

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

sudo apt-get -y install python-tegaki

Install python-tegaki Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python-tegaki

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

sudo aptitude -y install python-tegaki

How To Uninstall python-tegaki on Ubuntu 18.04

To uninstall only the python-tegaki package we can use the following command:

sudo apt-get remove python-tegaki

Uninstall python-tegaki And Its Dependencies

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

sudo apt-get -y autoremove python-tegaki

Remove python-tegaki Configurations and Data

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

sudo apt-get -y purge python-tegaki

Remove python-tegaki configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge python-tegaki

References

Summary

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