How To Install libmarc-charset-perl on Kali Linux

In this tutorial we learn how to install libmarc-charset-perl on Kali Linux. libmarc-charset-perl is Perl module for bidirectional MARC-8 <-> Unicode conversion

Introduction

In this tutorial we learn how to install libmarc-charset-perl on Kali Linux.

What is libmarc-charset-perl

libmarc-charset-perl is:

MARC::Charset allows you to turn MARC-8 encoded strings into UTF-8 strings.

MARC-8 is a single byte character encoding that predates unicode, and allows you to put non-Roman scripts in MARC bibliographic records.

The MARC21 standard now supports encoding character data in Unicode, specifically the UCS Transformation Formats-8 (UTF-8). Unicode notwithstanding, libraries still have a wealth of data encoded using MARC-8. Yet, some new data formats such as XML require that characters are encoded using Unicode. In order to facilitate conversion the Library of Congress graciously published character mappings to enable the conversion of MARC-8 data to Unicode.

There are three methods to install libmarc-charset-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libmarc-charset-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 libmarc-charset-perl using apt-get by running the following command:

sudo apt-get -y install libmarc-charset-perl

Install libmarc-charset-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libmarc-charset-perl

Install libmarc-charset-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libmarc-charset-perl using aptitude by running the following command:

sudo aptitude -y install libmarc-charset-perl

How To Uninstall libmarc-charset-perl on Kali Linux

To uninstall only the libmarc-charset-perl package we can use the following command:

sudo apt-get remove libmarc-charset-perl

Uninstall libmarc-charset-perl And Its Dependencies

To uninstall libmarc-charset-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libmarc-charset-perl

Remove libmarc-charset-perl Configurations and Data

To remove libmarc-charset-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libmarc-charset-perl

Remove libmarc-charset-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libmarc-charset-perl

Dependencies

libmarc-charset-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libmarc-charset-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.