How To Install gcin-qt5-immodule on Ubuntu 18.04

In this tutorial we learn how to install gcin-qt5-immodule on Ubuntu 18.04. gcin-qt5-immodule is Qt5 input method module with gcin as backend

Introduction

In this tutorial we learn how to install gcin-qt5-immodule on Ubuntu 18.04.

What is gcin-qt5-immodule

gcin-qt5-immodule is:

gcin is a GTK+ based input method which focused mainly on Traditional Chinese. However, it is also very useful for Simplified Chinese, Japanese, and many other languages.

This package is the Qt5 input method module (immodule) for gcin.

There are three methods to install gcin-qt5-immodule 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 gcin-qt5-immodule Using apt-get

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

sudo apt-get update

After updating apt database, We can install gcin-qt5-immodule using apt-get by running the following command:

sudo apt-get -y install gcin-qt5-immodule

Install gcin-qt5-immodule Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gcin-qt5-immodule using apt by running the following command:

sudo apt -y install gcin-qt5-immodule

Install gcin-qt5-immodule 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 gcin-qt5-immodule using aptitude by running the following command:

sudo aptitude -y install gcin-qt5-immodule

How To Uninstall gcin-qt5-immodule on Ubuntu 18.04

To uninstall only the gcin-qt5-immodule package we can use the following command:

sudo apt-get remove gcin-qt5-immodule

Uninstall gcin-qt5-immodule And Its Dependencies

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

sudo apt-get -y autoremove gcin-qt5-immodule

Remove gcin-qt5-immodule Configurations and Data

To remove gcin-qt5-immodule configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gcin-qt5-immodule

Remove gcin-qt5-immodule configuration, data, and all of its dependencies

We can use the following command to remove gcin-qt5-immodule configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gcin-qt5-immodule

References

Summary

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