How To Install ruby-simple-po-parser on Kali Linux

In this tutorial we learn how to install ruby-simple-po-parser on Kali Linux. ruby-simple-po-parser is Simple PO file to ruby hash parser

Introduction

In this tutorial we learn how to install ruby-simple-po-parser on Kali Linux.

What is ruby-simple-po-parser

ruby-simple-po-parser is:

This is a simple PO file to ruby hash parser, which complies with GNU PO file specification. Tested with the msgcat (GNU gettext-tools) 0.18.3 tool.

The parser is probably as optimized for speed as possible with pure ruby, while parsing all different PO types into separate keys. It was written as a “core-replacement” for an equivalent parslet PEG parser for arashm/PoParser and benchmarked about 500 times faster.

There are three methods to install ruby-simple-po-parser 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 ruby-simple-po-parser Using apt-get

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

sudo apt-get update

After updating apt database, We can install ruby-simple-po-parser using apt-get by running the following command:

sudo apt-get -y install ruby-simple-po-parser

Install ruby-simple-po-parser Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ruby-simple-po-parser using apt by running the following command:

sudo apt -y install ruby-simple-po-parser

Install ruby-simple-po-parser 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 ruby-simple-po-parser using aptitude by running the following command:

sudo aptitude -y install ruby-simple-po-parser

How To Uninstall ruby-simple-po-parser on Kali Linux

To uninstall only the ruby-simple-po-parser package we can use the following command:

sudo apt-get remove ruby-simple-po-parser

Uninstall ruby-simple-po-parser And Its Dependencies

To uninstall ruby-simple-po-parser and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove ruby-simple-po-parser

Remove ruby-simple-po-parser Configurations and Data

To remove ruby-simple-po-parser configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge ruby-simple-po-parser

Remove ruby-simple-po-parser configuration, data, and all of its dependencies

We can use the following command to remove ruby-simple-po-parser configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ruby-simple-po-parser

Dependencies

ruby-simple-po-parser have the following dependencies:

References

Summary

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