How To Install libhttpunit-java-doc on Ubuntu 18.04

In this tutorial we learn how to install libhttpunit-java-doc on Ubuntu 18.04. libhttpunit-java-doc is documentation for libhttpunit-java

Introduction

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

What is libhttpunit-java-doc

libhttpunit-java-doc is:

Documentation for HttpUnit which is an automated web site testing toolkit.

HttpUnit emulates the relevant portions of browser behavior, including form submission, JavaScript, basic http authentication, cookies and automatic page redirection, and allows Java test code to examine returned pages either as text, an XML DOM, or containers of forms, tables, and links.

This package includes a small manual, the javadoc API, a tutorial and examples.

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

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

Install libhttpunit-java-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhttpunit-java-doc

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

sudo aptitude -y install libhttpunit-java-doc

How To Uninstall libhttpunit-java-doc on Ubuntu 18.04

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

sudo apt-get remove libhttpunit-java-doc

Uninstall libhttpunit-java-doc And Its Dependencies

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

Remove libhttpunit-java-doc Configurations and Data

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

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

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

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

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

References

Summary

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