How To Install fcitx-sunpinyin on Ubuntu 18.04

In this tutorial we learn how to install fcitx-sunpinyin on Ubuntu 18.04. fcitx-sunpinyin is fcitx wrapper for Sunpinyin IM engine

Introduction

In this tutorial we learn how to install fcitx-sunpinyin on Ubuntu 18.04.

What is fcitx-sunpinyin

fcitx-sunpinyin is:

fcitx-sunpinyin is a wrapper for Sunpinyin IM engine.

Sunpinyin is a statistical language model (SLM) based input method engine for Simplified Chinese, it features full sentence input.

There are three methods to install fcitx-sunpinyin 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 fcitx-sunpinyin 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-sunpinyin using apt-get by running the following command:

sudo apt-get -y install fcitx-sunpinyin

Install fcitx-sunpinyin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install fcitx-sunpinyin

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

sudo aptitude -y install fcitx-sunpinyin

How To Uninstall fcitx-sunpinyin on Ubuntu 18.04

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

sudo apt-get remove fcitx-sunpinyin

Uninstall fcitx-sunpinyin And Its Dependencies

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

sudo apt-get -y autoremove fcitx-sunpinyin

Remove fcitx-sunpinyin Configurations and Data

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

sudo apt-get -y purge fcitx-sunpinyin

Remove fcitx-sunpinyin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge fcitx-sunpinyin

References

Summary

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