How To Install liblayout-manager-perl on Ubuntu 18.04

In this tutorial we learn how to install liblayout-manager-perl on Ubuntu 18.04. liblayout-manager-perl is module for managing layout of graphical components

Introduction

In this tutorial we learn how to install liblayout-manager-perl on Ubuntu 18.04.

What is liblayout-manager-perl

liblayout-manager-perl is:

Layout::Manager is a Perl module that provides a framework for working with layout managers, which are classes that determine the size and position of arbitrary components within a container. A few managers are provided for reference purposes, but this module is intended to serve as a basis for other implementations.

This module uses Graphics::Primitive::Container as a source of its components (see libgraphics-primitive-perl for details).

There are three methods to install liblayout-manager-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 liblayout-manager-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 liblayout-manager-perl using apt-get by running the following command:

sudo apt-get -y install liblayout-manager-perl

Install liblayout-manager-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblayout-manager-perl

Install liblayout-manager-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 liblayout-manager-perl using aptitude by running the following command:

sudo aptitude -y install liblayout-manager-perl

How To Uninstall liblayout-manager-perl on Ubuntu 18.04

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

sudo apt-get remove liblayout-manager-perl

Uninstall liblayout-manager-perl And Its Dependencies

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

sudo apt-get -y autoremove liblayout-manager-perl

Remove liblayout-manager-perl Configurations and Data

To remove liblayout-manager-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liblayout-manager-perl

Remove liblayout-manager-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblayout-manager-perl

References

Summary

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