Introduction
In this tutorial we learn how to install libfest-assert-java-doc
on Ubuntu 22.04.
What is libfest-assert-java-doc
libfest-assert-java-doc is:
FEST Assertions is a Java library that provides a fluent interface
for writing assertions. It’s main goal is to improve test code
readability and make maintenance of tests easier. FEST Assertions can
be used with either JUnit or TestNG.
This package contains the API documentation of libfest-assert.
There are three methods to install libfest-assert-java-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 libfest-assert-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 libfest-assert-java-doc
using apt-get
by running the following command:
sudo apt-get -y install libfest-assert-java-doc
Install libfest-assert-java-doc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libfest-assert-java-doc
using apt
by running the following command:
sudo apt -y install libfest-assert-java-doc
Install libfest-assert-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 libfest-assert-java-doc
using aptitude
by running the following command:
sudo aptitude -y install libfest-assert-java-doc
How To Uninstall libfest-assert-java-doc on Ubuntu 22.04
To uninstall only the libfest-assert-java-doc
package we can use the following command:
sudo apt-get remove libfest-assert-java-doc
Uninstall libfest-assert-java-doc And Its Dependencies
To uninstall libfest-assert-java-doc
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libfest-assert-java-doc
Remove libfest-assert-java-doc Configurations and Data
To remove libfest-assert-java-doc
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libfest-assert-java-doc
Remove libfest-assert-java-doc configuration, data, and all of its dependencies
We can use the following command to remove libfest-assert-java-doc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libfest-assert-java-doc
References
Summary
In this tutorial we learn how to install libfest-assert-java-doc
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.