Install libnet-nslookup-perl on Ubuntu: sudo apt-get install libnet-nslookup-perl

Learn how to install libnet-nslookup-perl with the command sudo apt-get install libnet-nslookup-perl on Ubuntus.


 

Ads

Quick installation of libnet-nslookup-perl:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: libnet-nslookup-perl

Ater updaing the OS run following command to install the packae:

	sudo apt-get install libnet-nslookup-perl

Package Details

Package:libnet-nslookup-perl
Version:2.00-1
Maintainer:Ubuntu Developers
Home page:http://search.cpan.org/dist/Net-Nslookup/
Description:simple DNS lookup module for perl Net::Nslookup provides the capabilities of the standard UNIX command line tool nslookup(1). Net::DNS is a wonderful and full featured module, but quite often, all you need is `nslookup $host`. Net::Nslookup provides that functionality. . Net::Nslookup exports a single function, called nslookup. nslookup can be used to retrieve A, PTR, CNAME, MX, and NS records. . my $a = nslookup(host => "use.perl.org", type => "A"); . my @mx = nslookup(domain => "perl.org", type => "MX"); . my @ns = nslookup(domain => "perl.org", type => "NS"); Homepage: http://search.cpan.org/dist/Net-Nslookup/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:universe/perl

How to install libnet-nslookup-perl on Ubuntu 12.04 LTS?

Install libnet-nslookup-perl on Ubuntu: sudo apt-get install libnet-nslookup-perl

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If libnet-nslookup-perl is not installed on your compter then the command 'dpkg -L libnet-nslookup-perl' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L libnet-nslookup-perl
Package `libnet-nslookup-perl' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing libnet-nslookup-perl:

After system update use the following command to install libnet-nslookup-perl:

sudo apt-get install libnet-nslookup-perl

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove libnet-nslookup-perl from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the libnet-nslookup-perl from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the libnet-nslookup-perl following command is used:

sudo apt-get remove  libnet-nslookup-perl

Following command is used to remove the libnet-nslookup-perl package along with its dependencies:

sudo apt-get remove --auto-remove libnet-nslookup-perl

This will remove libnet-nslookup-perl and all its dependent packages which is no longer needed in the system.

Completely removing libnet-nslookup-perl with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge libnet-nslookup-perl

or you can use following command also:

sudo apt-get purge --auto-remove libnet-nslookup-perl

Above command will remove all the configuration files and data associated with libnet-nslookup-perl package. You can can't recover the delete data, so, use this command with care.