How To Install libnetapp-perl on Ubuntu 20.04

In this tutorial we learn how to install libnetapp-perl on Ubuntu 20.04. libnetapp-perl is Perl modules for managing NetApps NAS devices

Introduction

In this tutorial we learn how to install libnetapp-perl on Ubuntu 20.04.

What is libnetapp-perl

libnetapp-perl is:

NetApp provides a suite of modules for managing NetApp’s NAS devices, commonly referred to as “filers”.

Both SSH and telnet are supported, but only SSH is really recommended. NetApp doesn’t support concurrent access via telnet, and the error checking using SSH is far more robust. Not to mention, you can configure secure access via SSH without using passwords, but telnet access will always require a password.

There are three methods to install libnetapp-perl on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libnetapp-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 libnetapp-perl using apt-get by running the following command:

sudo apt-get -y install libnetapp-perl

Install libnetapp-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libnetapp-perl

Install libnetapp-perl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libnetapp-perl using aptitude by running the following command:

sudo aptitude -y install libnetapp-perl

How To Uninstall libnetapp-perl on Ubuntu 20.04

To uninstall only the libnetapp-perl package we can use the following command:

sudo apt-get remove libnetapp-perl

Uninstall libnetapp-perl And Its Dependencies

To uninstall libnetapp-perl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libnetapp-perl

Remove libnetapp-perl Configurations and Data

To remove libnetapp-perl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libnetapp-perl

Remove libnetapp-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libnetapp-perl

References

Summary

In this tutorial we learn how to install libnetapp-perl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.