How To Install libsyntax-keyword-gather-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libsyntax-keyword-gather-perl
on Ubuntu 20.04.
What is libsyntax-keyword-gather-perl
libsyntax-keyword-gather-perl is:
Syntax::Keyword::Gather is a Perl syntax extension (see libsyntax-perl) that provides the “gather” control structure, which was inspired by Perl 6. It allows lists to be constructed procedurally, without the need for a temporary variable, by managing an implicit array within a closure.
There are three methods to install libsyntax-keyword-gather-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 libsyntax-keyword-gather-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 libsyntax-keyword-gather-perl
using apt-get
by running the following command:
sudo apt-get -y install libsyntax-keyword-gather-perl
Install libsyntax-keyword-gather-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsyntax-keyword-gather-perl
using apt
by running the following command:
sudo apt -y install libsyntax-keyword-gather-perl
Install libsyntax-keyword-gather-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 libsyntax-keyword-gather-perl
using aptitude
by running the following command:
sudo aptitude -y install libsyntax-keyword-gather-perl
How To Uninstall libsyntax-keyword-gather-perl on Ubuntu 20.04
To uninstall only the libsyntax-keyword-gather-perl
package we can use the following command:
sudo apt-get remove libsyntax-keyword-gather-perl
Uninstall libsyntax-keyword-gather-perl And Its Dependencies
To uninstall libsyntax-keyword-gather-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libsyntax-keyword-gather-perl
Remove libsyntax-keyword-gather-perl Configurations and Data
To remove libsyntax-keyword-gather-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libsyntax-keyword-gather-perl
Remove libsyntax-keyword-gather-perl configuration, data, and all of its dependencies
We can use the following command to remove libsyntax-keyword-gather-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsyntax-keyword-gather-perl
References
Summary
In this tutorial we learn how to install libsyntax-keyword-gather-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.