How To Install scim on Ubuntu 18.04

In this tutorial we learn how to install scim on Ubuntu 18.04. scim is smart common input method platform

Introduction

In this tutorial we learn how to install scim on Ubuntu 18.04.

What is scim

scim is:

Smart Common Input Method (SCIM) is an input method (IM) platform. Input methods are needed to enter complex characters in many non-latin languages. SCIM provides a common platform for various plugin modules and independent IM programs, as well as a set of modules and programs on its own. It is highly modularized and exposes abstract interfaces, so that plugin modules with different functions can easily communicate with each other. The currently supported module types are configuration, IM engine, front end, filter, and setup GUI.

SCIM achieves the communication between IM engines and front ends through both shared library linking and server/client mode. It supports XIM protocol, as well as GTK+ IM module and Qt IM module.

This package is the main binary package of SCIM. It includes: the main program scim (GTK+ based) and other support programs; simple configuration module, X11 front end module, rawcode IM engine module, simplified/traditional Chinese conversion filter module, and their corresponding setup GUI modules; GTK+ panel and its setup GUI module; and a GTK+ based setup tool.

SCIM is a well accepted platform and features various input method engines for many languages. In Debian you can find the following separately packaged IMs useful: scim-tables-{additional,ja,ko,zh}, scim-pinyin, scim-uim, scim-m17n, scim-chewing, scim-anthy, scim-canna, scim-prime, and scim-skk. GTK+ users would also find package scim-gtk-immodule useful for GTK+ IM module support.

For development on SCIM platform, please see the description of scim-dev package.

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

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

sudo apt-get update

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

sudo apt-get -y install scim

Install scim Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install scim using apt by running the following command:

sudo apt -y install scim

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

sudo aptitude -y install scim

How To Uninstall scim on Ubuntu 18.04

To uninstall only the scim package we can use the following command:

sudo apt-get remove scim

Uninstall scim And Its Dependencies

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

sudo apt-get -y autoremove scim

Remove scim Configurations and Data

To remove scim configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge scim

Remove scim configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge scim

References

Summary

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