How To Install libtiles-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libtiles-java-doc on Ubuntu 18.04. libtiles-java-doc is Java templating framework for web application user interfaces - documentation

Introduction

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

What is libtiles-java-doc

libtiles-java-doc is:

Apache Tiles is a Java templating framework built to simplify the development of web application user interfaces. Tiles allows authors to define page fragments which can be assembled into a complete page at runtime.

Tiles grew in popularity as a component of the popular Struts http://struts.apache.org/1.x/ framework.

It has since been extracted from Struts and is now integrated with various frameworks, such as Struts 2 http://struts.apache.org/2.x/ and Shale http://shale.apache.org/.

This package contains the Javadoc API of Tiles.

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

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

Install libtiles-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtiles-java-doc

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

sudo aptitude -y install libtiles-java-doc

How To Uninstall libtiles-java-doc on Ubuntu 18.04

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

sudo apt-get remove libtiles-java-doc

Uninstall libtiles-java-doc And Its Dependencies

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

Remove libtiles-java-doc Configurations and Data

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

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

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

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

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

References

Summary

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