How To Install libmsgcat-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libmsgcat-perl
on Ubuntu 18.04.
What is libmsgcat-perl
libmsgcat-perl is:
Locale::Msgcat is a small perl module for systems which support the XPG4 message catalog functions : catopen(3), catgets(3) and catclose(3).
The module can be used to internationalize a perl program. Messages inside a catalog are identified by integers (unlike gettext which uses the English string as identifier).
There are three methods to install libmsgcat-perl
on Ubuntu 18.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 libmsgcat-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 libmsgcat-perl
using apt-get
by running the following command:
sudo apt-get -y install libmsgcat-perl
Install libmsgcat-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libmsgcat-perl
using apt
by running the following command:
sudo apt -y install libmsgcat-perl
Install libmsgcat-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 libmsgcat-perl
using aptitude
by running the following command:
sudo aptitude -y install libmsgcat-perl
How To Uninstall libmsgcat-perl on Ubuntu 18.04
To uninstall only the libmsgcat-perl
package we can use the following command:
sudo apt-get remove libmsgcat-perl
Uninstall libmsgcat-perl And Its Dependencies
To uninstall libmsgcat-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libmsgcat-perl
Remove libmsgcat-perl Configurations and Data
To remove libmsgcat-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libmsgcat-perl
Remove libmsgcat-perl configuration, data, and all of its dependencies
We can use the following command to remove libmsgcat-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmsgcat-perl
References
Summary
In this tutorial we learn how to install libmsgcat-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.