How To Install libjcalendar-java on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libjcalendar-java on Ubuntu 18.04.
What is libjcalendar-java
libjcalendar-java is:
JCalendar is composed of several other Java beans, a JDayChooser, a JMonthChooser and a JYearChooser. All these beans have a locale property, provide several icons (Color 16x16, Color 32x32, Mono 16x16 and Mono 32x32) and their own locale property editor. So they can easily be used in GUI builders. Also part of the package is a JDateChooser, a bean composed of an IDateEditor (for direct date editing) and a button for opening a JCalendar for selecting the date.
There are three methods to install libjcalendar-java 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 libjcalendar-java Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libjcalendar-java using apt-get by running the following command:
sudo apt-get -y install libjcalendar-java
Install libjcalendar-java Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libjcalendar-java using apt by running the following command:
sudo apt -y install libjcalendar-java
Install libjcalendar-java 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 libjcalendar-java using aptitude by running the following command:
sudo aptitude -y install libjcalendar-java
How To Uninstall libjcalendar-java on Ubuntu 18.04
To uninstall only the libjcalendar-java package we can use the following command:
sudo apt-get remove libjcalendar-java
Uninstall libjcalendar-java And Its Dependencies
To uninstall libjcalendar-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libjcalendar-java
Remove libjcalendar-java Configurations and Data
To remove libjcalendar-java configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libjcalendar-java
Remove libjcalendar-java configuration, data, and all of its dependencies
We can use the following command to remove libjcalendar-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjcalendar-java
References
Summary
In this tutorial we learn how to install libjcalendar-java package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.