How To Install libpcp-logsummary-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libpcp-logsummary-perl
on Ubuntu 20.04.
What is libpcp-logsummary-perl
libpcp-logsummary-perl is:
The PCP::LogSummary module provides a Perl module for using the statistical summary data produced by the Performance Co-Pilot pmlogsummary utility. This utility produces various averages, minima, maxima, and other calculations based on the performance data stored in a PCP archive. The Perl interface is ideal for exporting this data into third-party tools (e.g. spreadsheets).
The Performance Co-Pilot provides a unifying abstraction for all of the interesting performance data in a system, and allows client applications to easily retrieve and process any subset of that data.
There are three methods to install libpcp-logsummary-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 libpcp-logsummary-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 libpcp-logsummary-perl
using apt-get
by running the following command:
sudo apt-get -y install libpcp-logsummary-perl
Install libpcp-logsummary-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libpcp-logsummary-perl
using apt
by running the following command:
sudo apt -y install libpcp-logsummary-perl
Install libpcp-logsummary-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 libpcp-logsummary-perl
using aptitude
by running the following command:
sudo aptitude -y install libpcp-logsummary-perl
How To Uninstall libpcp-logsummary-perl on Ubuntu 20.04
To uninstall only the libpcp-logsummary-perl
package we can use the following command:
sudo apt-get remove libpcp-logsummary-perl
Uninstall libpcp-logsummary-perl And Its Dependencies
To uninstall libpcp-logsummary-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libpcp-logsummary-perl
Remove libpcp-logsummary-perl Configurations and Data
To remove libpcp-logsummary-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libpcp-logsummary-perl
Remove libpcp-logsummary-perl configuration, data, and all of its dependencies
We can use the following command to remove libpcp-logsummary-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libpcp-logsummary-perl
References
Summary
In this tutorial we learn how to install libpcp-logsummary-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.