How To Install poppler-data on Kali Linux

In this tutorial we learn how to install poppler-data on Kali Linux. poppler-data is encoding data for the poppler PDF rendering library

Introduction

In this tutorial we learn how to install poppler-data on Kali Linux.

What is poppler-data

poppler-data is:

This package provides the CMap tables required to display PDF documents containing CJK characters with libpoppler. They were previously provided by the packages cmap-adobe-{cns1,gb1,japan1,japan2,korea1} and gs-cjk-resource.

Users who want to view or create PDF files in Chinese, Japanese, or Korean without embedded fonts will need this package.

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

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

sudo apt-get update

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

sudo apt-get -y install poppler-data

Install poppler-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install poppler-data

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

sudo aptitude -y install poppler-data

How To Uninstall poppler-data on Kali Linux

To uninstall only the poppler-data package we can use the following command:

sudo apt-get remove poppler-data

Uninstall poppler-data And Its Dependencies

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

sudo apt-get -y autoremove poppler-data

Remove poppler-data Configurations and Data

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

sudo apt-get -y purge poppler-data

Remove poppler-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge poppler-data

Dependencies

poppler-data have the following dependencies:

References

Summary

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