How To Install libjs-jquery-meiomask on Ubuntu 18.04

In this tutorial we learn how to install libjs-jquery-meiomask on Ubuntu 18.04. libjs-jquery-meiomask is jQuery mask plugin

Introduction

In this tutorial we learn how to install libjs-jquery-meiomask on Ubuntu 18.04.

What is libjs-jquery-meiomask

libjs-jquery-meiomask is:

meioMask is a simple use plugin for creating and applying masks at text input fields.

Features:

  • Accepts paste event;
  • Has fixed, reverse (currency) and repeat mask types;
  • You can still use your hot keys and others (ex: ctrl+t, ctrl+f5, TAB …);
  • Supports metadata plugin;
  • Works with iPhone;
  • Allow default values;
  • Has callbacks for invalid inputs, valid and overflow;
  • Has function to mask strings;
  • Support for positive and negative numbers on reverse masks;
  • Can auto-focus the next form element when the current input is completely filled.

There are three methods to install libjs-jquery-meiomask 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 libjs-jquery-meiomask Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libjs-jquery-meiomask using apt-get by running the following command:

sudo apt-get -y install libjs-jquery-meiomask

Install libjs-jquery-meiomask Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjs-jquery-meiomask using apt by running the following command:

sudo apt -y install libjs-jquery-meiomask

Install libjs-jquery-meiomask 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 libjs-jquery-meiomask using aptitude by running the following command:

sudo aptitude -y install libjs-jquery-meiomask

How To Uninstall libjs-jquery-meiomask on Ubuntu 18.04

To uninstall only the libjs-jquery-meiomask package we can use the following command:

sudo apt-get remove libjs-jquery-meiomask

Uninstall libjs-jquery-meiomask And Its Dependencies

To uninstall libjs-jquery-meiomask and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libjs-jquery-meiomask

Remove libjs-jquery-meiomask Configurations and Data

To remove libjs-jquery-meiomask configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjs-jquery-meiomask

Remove libjs-jquery-meiomask configuration, data, and all of its dependencies

We can use the following command to remove libjs-jquery-meiomask configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjs-jquery-meiomask

References

Summary

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