How To Install libdns-zoneparse-perl on Kali Linux
Introduction
In this tutorial we learn how to install libdns-zoneparse-perl on Kali Linux.
What is libdns-zoneparse-perl
libdns-zoneparse-perl is:
DNS::ZoneParse will parse a Zone File and put all the Resource Records (RRs) into an anonymous hash structure. At the moment, the following types of RRs are supported: SOA, NS, MX, A, CNAME, TXT, PTR. It could be useful for maintaining DNS zones, or for transferring DNS zones to other servers. If you want to generate an XML-friendly version of your zone files, it is easy to use XML::Simple with this module once you have parsed the zonefile.
DNS::ZoneParse scans the DNS zonefile - removes comments and seperates the file into its constituent records. It then parses each record and stores the records internally.
There are three methods to install libdns-zoneparse-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 libdns-zoneparse-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libdns-zoneparse-perl using apt-get by running the following command:
sudo apt-get -y install libdns-zoneparse-perlInstall libdns-zoneparse-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libdns-zoneparse-perl using apt by running the following command:
sudo apt -y install libdns-zoneparse-perlInstall libdns-zoneparse-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 updateAfter updating apt database, We can install libdns-zoneparse-perl using aptitude by running the following command:
sudo aptitude -y install libdns-zoneparse-perlHow To Uninstall libdns-zoneparse-perl on Kali Linux
To uninstall only the libdns-zoneparse-perl package we can use the following command:
sudo apt-get remove libdns-zoneparse-perlUninstall libdns-zoneparse-perl And Its Dependencies
To uninstall libdns-zoneparse-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdns-zoneparse-perlRemove libdns-zoneparse-perl Configurations and Data
To remove libdns-zoneparse-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdns-zoneparse-perlRemove libdns-zoneparse-perl configuration, data, and all of its dependencies
We can use the following command to remove libdns-zoneparse-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdns-zoneparse-perlDependencies
libdns-zoneparse-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdns-zoneparse-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.