How To Install fcitx-module-lua on Debian 9

In this tutorial we learn how to install fcitx-module-lua on Debian 9. fcitx-module-lua is Flexible Input Method Framework - Lua module

Introduction

In this tutorial we learn how to install fcitx-module-lua on Debian 9.

What is fcitx-module-lua

fcitx-module-lua is:

Fcitx is a input method framework with extension support, which provides an interface for entering characters of different scripts in applications using a variety of mapping systems.

It offers a pleasant and modern experience, with intuitive graphical configuration tools and customizable skins and mapping tables. It is highly modularized and extensible, with GTK+ 2/3 and Qt4 IM Modules, support for UIs based on Fbterm, pure Xlib, GTK+, or KDE, and a developer-friendly API.

This package provides the Lua module, which enables users to extend their usage with the Lua programming language.

There are three methods to install fcitx-module-lua on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install fcitx-module-lua Using apt-get

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

sudo apt-get update

After updating apt database, We can install fcitx-module-lua using apt-get by running the following command:

sudo apt-get -y install fcitx-module-lua

Install fcitx-module-lua Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fcitx-module-lua using apt by running the following command:

sudo apt -y install fcitx-module-lua

Install fcitx-module-lua 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install fcitx-module-lua using aptitude by running the following command:

sudo aptitude -y install fcitx-module-lua

How To Uninstall fcitx-module-lua on Debian 9

To uninstall only the fcitx-module-lua package we can use the following command:

sudo apt-get remove fcitx-module-lua

Uninstall fcitx-module-lua And Its Dependencies

To uninstall fcitx-module-lua and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove fcitx-module-lua

Remove fcitx-module-lua Configurations and Data

To remove fcitx-module-lua configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge fcitx-module-lua

Remove fcitx-module-lua configuration, data, and all of its dependencies

We can use the following command to remove fcitx-module-lua configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fcitx-module-lua

Dependencies

fcitx-module-lua have the following dependencies:

References

Summary

In this tutorial we learn how to install fcitx-module-lua package on Debian 9 using different package management tools: apt, apt-get and aptitude.