How To Install libclass-dbi-asform-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libclass-dbi-asform-perl
on Ubuntu 20.04.
What is libclass-dbi-asform-perl
libclass-dbi-asform-perl is:
The Class::DBI::AsForm module helps to generate HTML forms for creating new database rows or editing existing rows. It maps column names in a database table to HTML form elements which fit the schema. Large text fields are turned into textareas, and fields with a has-a relationship to other Class::DBI tables are turned into select drop-downs populated with objects from the joined class.
There are three methods to install libclass-dbi-asform-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 libclass-dbi-asform-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 libclass-dbi-asform-perl
using apt-get
by running the following command:
sudo apt-get -y install libclass-dbi-asform-perl
Install libclass-dbi-asform-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libclass-dbi-asform-perl
using apt
by running the following command:
sudo apt -y install libclass-dbi-asform-perl
Install libclass-dbi-asform-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 libclass-dbi-asform-perl
using aptitude
by running the following command:
sudo aptitude -y install libclass-dbi-asform-perl
How To Uninstall libclass-dbi-asform-perl on Ubuntu 20.04
To uninstall only the libclass-dbi-asform-perl
package we can use the following command:
sudo apt-get remove libclass-dbi-asform-perl
Uninstall libclass-dbi-asform-perl And Its Dependencies
To uninstall libclass-dbi-asform-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libclass-dbi-asform-perl
Remove libclass-dbi-asform-perl Configurations and Data
To remove libclass-dbi-asform-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libclass-dbi-asform-perl
Remove libclass-dbi-asform-perl configuration, data, and all of its dependencies
We can use the following command to remove libclass-dbi-asform-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libclass-dbi-asform-perl
References
Summary
In this tutorial we learn how to install libclass-dbi-asform-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.