How To Install libnet-z3950-simpleserver-perl on Kali Linux

In this tutorial we learn how to install libnet-z3950-simpleserver-perl on Kali Linux. libnet-z3950-simpleserver-perl is simple perl API for building Z39.50 servers

Introduction

In this tutorial we learn how to install libnet-z3950-simpleserver-perl on Kali Linux.

What is libnet-z3950-simpleserver-perl

libnet-z3950-simpleserver-perl is:

The Net::Z3950::SimpleServer module is a tool for constructing Z39.50 “Information Retrieval” servers in Perl. The module is easy to use, but it does help to have an understanding of the Z39.50 query structure and the construction of structured retrieval records.

Z39.50 is a network protocol for searching remote databases and retrieving the results in the form of structured “records”. It is widely used in libraries around the world, as well as in the US Federal Government. In addition, it is generally useful whenever you wish to integrate a number of different database systems around a shared, asbtract data model.

The model of the module is simple: It implements a “generic” Z39.50 server, which invokes callback functions supplied by you to search for content in your database. You can use any tools available in Perl to supply the content, including modules like DBI and WWW::Search.

The server will take care of managing the network connections for you, and it will spawn a new process (or thread, in some environments) whenever a new connection is received.

There are three methods to install libnet-z3950-simpleserver-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 libnet-z3950-simpleserver-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 libnet-z3950-simpleserver-perl using apt-get by running the following command:

sudo apt-get -y install libnet-z3950-simpleserver-perl

Install libnet-z3950-simpleserver-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnet-z3950-simpleserver-perl using apt by running the following command:

sudo apt -y install libnet-z3950-simpleserver-perl

Install libnet-z3950-simpleserver-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 libnet-z3950-simpleserver-perl using aptitude by running the following command:

sudo aptitude -y install libnet-z3950-simpleserver-perl

How To Uninstall libnet-z3950-simpleserver-perl on Kali Linux

To uninstall only the libnet-z3950-simpleserver-perl package we can use the following command:

sudo apt-get remove libnet-z3950-simpleserver-perl

Uninstall libnet-z3950-simpleserver-perl And Its Dependencies

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

sudo apt-get -y autoremove libnet-z3950-simpleserver-perl

Remove libnet-z3950-simpleserver-perl Configurations and Data

To remove libnet-z3950-simpleserver-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libnet-z3950-simpleserver-perl

Remove libnet-z3950-simpleserver-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libnet-z3950-simpleserver-perl

Dependencies

libnet-z3950-simpleserver-perl have the following dependencies:

References

Summary

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