How To Install libtoml-tiny-perl on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libtoml-tiny-perl
on Ubuntu 22.04.
What is libtoml-tiny-perl
libtoml-tiny-perl is:
TOML::Tiny implements a pure-perl parser and generator for the TOML (https://github.com/toml-lang/toml) data format. It currently conforms to TOML v5 (with a few caveats) with support for more recent changes in pursuit of v6.
TOML::Tiny strives to maintain an interface compatible to the TOML and TOML::Parser modules, and could even be used to override $TOML::Parser.
There are three methods to install libtoml-tiny-perl
on Ubuntu 22.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 libtoml-tiny-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 libtoml-tiny-perl
using apt-get
by running the following command:
sudo apt-get -y install libtoml-tiny-perl
Install libtoml-tiny-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libtoml-tiny-perl
using apt
by running the following command:
sudo apt -y install libtoml-tiny-perl
Install libtoml-tiny-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 libtoml-tiny-perl
using aptitude
by running the following command:
sudo aptitude -y install libtoml-tiny-perl
How To Uninstall libtoml-tiny-perl on Ubuntu 22.04
To uninstall only the libtoml-tiny-perl
package we can use the following command:
sudo apt-get remove libtoml-tiny-perl
Uninstall libtoml-tiny-perl And Its Dependencies
To uninstall libtoml-tiny-perl
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libtoml-tiny-perl
Remove libtoml-tiny-perl Configurations and Data
To remove libtoml-tiny-perl
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libtoml-tiny-perl
Remove libtoml-tiny-perl configuration, data, and all of its dependencies
We can use the following command to remove libtoml-tiny-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtoml-tiny-perl
References
Summary
In this tutorial we learn how to install libtoml-tiny-perl
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.