How To Install libjcalendar-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libjcalendar-java-doc on Ubuntu 18.04. libjcalendar-java-doc is Java date chooser bean for picking a date (documentation)

Introduction

In this tutorial we learn how to install libjcalendar-java-doc on Ubuntu 18.04.

What is libjcalendar-java-doc

libjcalendar-java-doc 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.

This package contains the javadoc documentation.

There are three methods to install libjcalendar-java-doc 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-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install libjcalendar-java-doc

Install libjcalendar-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjcalendar-java-doc using apt by running the following command:

sudo apt -y install libjcalendar-java-doc

Install libjcalendar-java-doc 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-doc using aptitude by running the following command:

sudo aptitude -y install libjcalendar-java-doc

How To Uninstall libjcalendar-java-doc on Ubuntu 18.04

To uninstall only the libjcalendar-java-doc package we can use the following command:

sudo apt-get remove libjcalendar-java-doc

Uninstall libjcalendar-java-doc And Its Dependencies

To uninstall libjcalendar-java-doc 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-doc

Remove libjcalendar-java-doc Configurations and Data

To remove libjcalendar-java-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjcalendar-java-doc

Remove libjcalendar-java-doc configuration, data, and all of its dependencies

We can use the following command to remove libjcalendar-java-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjcalendar-java-doc

References

Summary

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