How To Install liblunar-calendar-doc on Ubuntu 22.04

In this tutorial we learn how to install liblunar-calendar-doc on Ubuntu 22.04. liblunar-calendar-doc is Chinese Lunar Calendar widget for GTK+ API documents

Introduction

In this tutorial we learn how to install liblunar-calendar-doc on Ubuntu 22.04.

What is liblunar-calendar-doc

liblunar-calendar-doc is:

The LunarCalendar provide Chinese lunar Calendar Wieget for GTK+ .

It support the application that use GTK3 calendar to display Chinese Lunar Calendar, such as xfce4-panel, mate-panel, gtk3-widget-factory, etc.

This package contains API documents, examples file.

There are three methods to install liblunar-calendar-doc on Ubuntu 22.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 liblunar-calendar-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 liblunar-calendar-doc using apt-get by running the following command:

sudo apt-get -y install liblunar-calendar-doc

Install liblunar-calendar-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblunar-calendar-doc

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

sudo aptitude -y install liblunar-calendar-doc

How To Uninstall liblunar-calendar-doc on Ubuntu 22.04

To uninstall only the liblunar-calendar-doc package we can use the following command:

sudo apt-get remove liblunar-calendar-doc

Uninstall liblunar-calendar-doc And Its Dependencies

To uninstall liblunar-calendar-doc and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove liblunar-calendar-doc

Remove liblunar-calendar-doc Configurations and Data

To remove liblunar-calendar-doc configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge liblunar-calendar-doc

Remove liblunar-calendar-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblunar-calendar-doc

References

Summary

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