How To Install libencode-jis2k-perl on Ubuntu 18.04

In this tutorial we learn how to install libencode-jis2k-perl on Ubuntu 18.04. libencode-jis2k-perl is perl module providing JIS X 0212 (aka JIS 2000) Encodings

Introduction

In this tutorial we learn how to install libencode-jis2k-perl on Ubuntu 18.04.

What is libencode-jis2k-perl

libencode-jis2k-perl is:

Encode::JIS2K is an extension to the Encode perl module (which provides an interface between perl strings and other character encodings) provides specific coverage for the JIS X 0213 character set.

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

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

sudo apt-get update

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

sudo apt-get -y install libencode-jis2k-perl

Install libencode-jis2k-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libencode-jis2k-perl using apt by running the following command:

sudo apt -y install libencode-jis2k-perl

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

sudo aptitude -y install libencode-jis2k-perl

How To Uninstall libencode-jis2k-perl on Ubuntu 18.04

To uninstall only the libencode-jis2k-perl package we can use the following command:

sudo apt-get remove libencode-jis2k-perl

Uninstall libencode-jis2k-perl And Its Dependencies

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

sudo apt-get -y autoremove libencode-jis2k-perl

Remove libencode-jis2k-perl Configurations and Data

To remove libencode-jis2k-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libencode-jis2k-perl

Remove libencode-jis2k-perl configuration, data, and all of its dependencies

We can use the following command to remove libencode-jis2k-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libencode-jis2k-perl

References

Summary

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