How To Install libvelocity-tools-java-doc on Debian 10

Learn how to install libvelocity-tools-java-doc on Debian 10 with this tutorial. libvelocity-tools-java-doc is collection of useful tools for Velocity template engine - documentation

Introduction

In this tutorial we learn how to install libvelocity-tools-java-doc on Debian 10.

What is libvelocity-tools-java-doc

libvelocity-tools-java-doc is:

The VelocityTools project is a collection of useful Java classes (aka tools), as well as infrastructure to easily, automatically and transparently make these tools available to Velocity templates.

Project include easy integration of Velocity into the view-layer of web applications (via the VelocityViewTag and VelocityViewServlet) and integration with Struts 1.x applications.

This package provides the API documentation for Velocity Tools.

There are three methods to install libvelocity-tools-java-doc on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libvelocity-tools-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 libvelocity-tools-java-doc using apt-get by running the following command:

sudo apt-get -y install libvelocity-tools-java-doc

Install libvelocity-tools-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libvelocity-tools-java-doc

Install libvelocity-tools-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libvelocity-tools-java-doc

How To Uninstall libvelocity-tools-java-doc on Debian 10

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

sudo apt-get remove libvelocity-tools-java-doc

Uninstall libvelocity-tools-java-doc And Its Dependencies

To uninstall libvelocity-tools-java-doc and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libvelocity-tools-java-doc

Remove libvelocity-tools-java-doc Configurations and Data

To remove libvelocity-tools-java-doc configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libvelocity-tools-java-doc

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

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

sudo apt-get -y autoremove --purge libvelocity-tools-java-doc

Dependencies

libvelocity-tools-java-doc have the following dependencies:

References

Summary

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