How To Install libdancer-plugin-flashmessage-perl on Debian 9
Introduction
In this tutorial we learn how to install libdancer-plugin-flashmessage-perl
on Debian 9.
What is libdancer-plugin-flashmessage-perl
libdancer-plugin-flashmessage-perl is:
Dancer::Plugin::FlashMessage helps you display temporary messages, also known as “flash messages”. Flash messages can be used to inform the user that a certain operation was successful in way that doesn’t take space when there are no messages to be shown.
The plugin provides a flash() method for setting the message and takes care of attaching the content to the session, propagating it to the templating system, and then removing it from the session.
The developer’s only remaining job is to provide a place in the views or the layout where the message will be displayed.
Dancer is a lightweight yet powerful web application framework.
There are three methods to install libdancer-plugin-flashmessage-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdancer-plugin-flashmessage-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 libdancer-plugin-flashmessage-perl
using apt-get
by running the following command:
sudo apt-get -y install libdancer-plugin-flashmessage-perl
Install libdancer-plugin-flashmessage-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdancer-plugin-flashmessage-perl
using apt
by running the following command:
sudo apt -y install libdancer-plugin-flashmessage-perl
Install libdancer-plugin-flashmessage-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libdancer-plugin-flashmessage-perl
using aptitude
by running the following command:
sudo aptitude -y install libdancer-plugin-flashmessage-perl
How To Uninstall libdancer-plugin-flashmessage-perl on Debian 9
To uninstall only the libdancer-plugin-flashmessage-perl
package we can use the following command:
sudo apt-get remove libdancer-plugin-flashmessage-perl
Uninstall libdancer-plugin-flashmessage-perl And Its Dependencies
To uninstall libdancer-plugin-flashmessage-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libdancer-plugin-flashmessage-perl
Remove libdancer-plugin-flashmessage-perl Configurations and Data
To remove libdancer-plugin-flashmessage-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libdancer-plugin-flashmessage-perl
Remove libdancer-plugin-flashmessage-perl configuration, data, and all of its dependencies
We can use the following command to remove libdancer-plugin-flashmessage-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdancer-plugin-flashmessage-perl
Dependencies
libdancer-plugin-flashmessage-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdancer-plugin-flashmessage-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.