How To Install maliit-inputcontext-gtk2 on Ubuntu 18.04

In this tutorial we learn how to install maliit-inputcontext-gtk2 on Ubuntu 18.04. maliit-inputcontext-gtk2 is Maliit GTK+ 2 input method module

Introduction

In this tutorial we learn how to install maliit-inputcontext-gtk2 on Ubuntu 18.04.

What is maliit-inputcontext-gtk2

maliit-inputcontext-gtk2 is:

Maliit provides a flexible and cross-platform input method framework. It has a plugin-based client-server architecture where applications act as clients and communicate with the Maliit server via input context plugins. The communication link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with open source plugins (BSD).

This package provides the module needed for GTK+ 2 applications to communicate with the Maliit server.

There are three methods to install maliit-inputcontext-gtk2 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 maliit-inputcontext-gtk2 Using apt-get

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

sudo apt-get update

After updating apt database, We can install maliit-inputcontext-gtk2 using apt-get by running the following command:

sudo apt-get -y install maliit-inputcontext-gtk2

Install maliit-inputcontext-gtk2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install maliit-inputcontext-gtk2 using apt by running the following command:

sudo apt -y install maliit-inputcontext-gtk2

Install maliit-inputcontext-gtk2 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 maliit-inputcontext-gtk2 using aptitude by running the following command:

sudo aptitude -y install maliit-inputcontext-gtk2

How To Uninstall maliit-inputcontext-gtk2 on Ubuntu 18.04

To uninstall only the maliit-inputcontext-gtk2 package we can use the following command:

sudo apt-get remove maliit-inputcontext-gtk2

Uninstall maliit-inputcontext-gtk2 And Its Dependencies

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

sudo apt-get -y autoremove maliit-inputcontext-gtk2

Remove maliit-inputcontext-gtk2 Configurations and Data

To remove maliit-inputcontext-gtk2 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge maliit-inputcontext-gtk2

Remove maliit-inputcontext-gtk2 configuration, data, and all of its dependencies

We can use the following command to remove maliit-inputcontext-gtk2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge maliit-inputcontext-gtk2

References

Summary

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