How To Install libjs-eonasdan-bootstrap-datetimepicker on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 405 words
Introduction
In this tutorial we learn how to install libjs-eonasdan-bootstrap-datetimepicker on Ubuntu.
What is libjs-eonasdan-bootstrap-datetimepicker
libjs-eonasdan-bootstrap-datetimepicker is:
This package contains a JavaScript Library providing a date/time picker component designed to work with Bootstrap 3 and Momentjs.
This component consists actually of 2 subcomponent UI widgets: one for the date and one for the time selection process. The developers can configure which of those are needed and also the granularity that the component will allow the users to select a date/time. Developers also choose the format that the selected datetime will be displayed in the input field.
There are three methods to install libjs-eonasdan-bootstrap-datetimepicker on Ubuntu. 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-eonasdan-bootstrap-datetimepicker 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-eonasdan-bootstrap-datetimepicker using apt-get by running the following command:
sudo apt-get -y install libjs-eonasdan-bootstrap-datetimepicker
Install libjs-eonasdan-bootstrap-datetimepicker Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libjs-eonasdan-bootstrap-datetimepicker using apt by running the following command:
sudo apt -y install libjs-eonasdan-bootstrap-datetimepicker
Install libjs-eonasdan-bootstrap-datetimepicker 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-eonasdan-bootstrap-datetimepicker using aptitude by running the following command:
sudo aptitude -y install libjs-eonasdan-bootstrap-datetimepicker
How To Uninstall libjs-eonasdan-bootstrap-datetimepicker on Ubuntu
To uninstall only the libjs-eonasdan-bootstrap-datetimepicker package we can use the following command:
sudo apt-get remove libjs-eonasdan-bootstrap-datetimepicker
Uninstall libjs-eonasdan-bootstrap-datetimepicker And Its Dependencies
To uninstall libjs-eonasdan-bootstrap-datetimepicker and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove libjs-eonasdan-bootstrap-datetimepicker
Remove libjs-eonasdan-bootstrap-datetimepicker Configurations and Data
To remove libjs-eonasdan-bootstrap-datetimepicker configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge libjs-eonasdan-bootstrap-datetimepicker
Remove libjs-eonasdan-bootstrap-datetimepicker configuration, data, and all of its dependencies
We can use the following command to remove libjs-eonasdan-bootstrap-datetimepicker configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjs-eonasdan-bootstrap-datetimepicker
Dependencies
libjs-eonasdan-bootstrap-datetimepicker have the following dependencies:
References
Summary
In this tutorial we learn how to install libjs-eonasdan-bootstrap-datetimepicker package on Ubuntu using different package management tools: apt, apt-get and aptitude.