How To Install ng-cjk-canna on Debian 9
Introduction
In this tutorial we learn how to install ng-cjk-canna
on Debian 9.
What is ng-cjk-canna
ng-cjk-canna is:
Ng is Nihongo Mg, MicroGnuEmacs. It is a small lightweight Emacs-like editor. It can handle both Latin and CJK.
ng-cjk-canna can handle ISO-2022-JP, Shift-JIS, EUC-JP as well as EUC-KR and EUC-CN(GB only). Latin is not supported. Canna, one of Japanese input methods, is also supported.
There are three methods to install ng-cjk-canna
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 ng-cjk-canna Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ng-cjk-canna
using apt-get
by running the following command:
sudo apt-get -y install ng-cjk-canna
Install ng-cjk-canna Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ng-cjk-canna
using apt
by running the following command:
sudo apt -y install ng-cjk-canna
Install ng-cjk-canna 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 ng-cjk-canna
using aptitude
by running the following command:
sudo aptitude -y install ng-cjk-canna
How To Uninstall ng-cjk-canna on Debian 9
To uninstall only the ng-cjk-canna
package we can use the following command:
sudo apt-get remove ng-cjk-canna
Uninstall ng-cjk-canna And Its Dependencies
To uninstall ng-cjk-canna
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove ng-cjk-canna
Remove ng-cjk-canna Configurations and Data
To remove ng-cjk-canna
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge ng-cjk-canna
Remove ng-cjk-canna configuration, data, and all of its dependencies
We can use the following command to remove ng-cjk-canna
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ng-cjk-canna
Dependencies
ng-cjk-canna have the following dependencies:
References
Summary
In this tutorial we learn how to install ng-cjk-canna
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.