How To Install libjs-jquery-colorpicker on Ubuntu 18.04

In this tutorial we learn how to install libjs-jquery-colorpicker on Ubuntu 18.04. libjs-jquery-colorpicker is full-featured colorpicker for jQuery UI

Introduction

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

What is libjs-jquery-colorpicker

libjs-jquery-colorpicker is:

libjs-jquery-colorpicker is jQuery UI plugin than provides support for easy selection of colors in a jQuery UI based web page.

libjs-jquery-colorpicker features:

  • jQueryUI (themeroller-based) look & feel
  • Familiar interface layout
  • Highly configurable
    • Control parts
    • Layout
    • Input/output formats
    • Swatches
    • Many more
  • Accurate color model
  • Supports localization
  • Smart window alignment
  • Complete API with events and methods
  • Easily extendable with plugins
  • Documented
  • Disable/enable

There are three methods to install libjs-jquery-colorpicker 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-colorpicker 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-colorpicker using apt-get by running the following command:

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

Install libjs-jquery-colorpicker Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libjs-jquery-colorpicker

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

sudo aptitude -y install libjs-jquery-colorpicker

How To Uninstall libjs-jquery-colorpicker on Ubuntu 18.04

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

sudo apt-get remove libjs-jquery-colorpicker

Uninstall libjs-jquery-colorpicker And Its Dependencies

To uninstall libjs-jquery-colorpicker 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-colorpicker

Remove libjs-jquery-colorpicker Configurations and Data

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

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

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

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

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

References

Summary

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