How To Install libdumbster-java on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libdumbster-java
on Ubuntu 20.04.
What is libdumbster-java
libdumbster-java is:
The Dumbster is a very simple fake SMTP server designed for unit and system testing applications that send email messages. It responds to all standard SMTP commands but does not deliver messages to the user. The messages are stored within the Dumbster for later extraction and verification.
The Dumbster slots itself very easily into your testing strategy. As long as your application talks to an email server using SMTP then the Dumbster can be used to test the application with no code changes
There are three methods to install libdumbster-java
on Ubuntu 20.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 libdumbster-java Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libdumbster-java
using apt-get
by running the following command:
sudo apt-get -y install libdumbster-java
Install libdumbster-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdumbster-java
using apt
by running the following command:
sudo apt -y install libdumbster-java
Install libdumbster-java 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 libdumbster-java
using aptitude
by running the following command:
sudo aptitude -y install libdumbster-java
How To Uninstall libdumbster-java on Ubuntu 20.04
To uninstall only the libdumbster-java
package we can use the following command:
sudo apt-get remove libdumbster-java
Uninstall libdumbster-java And Its Dependencies
To uninstall libdumbster-java
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libdumbster-java
Remove libdumbster-java Configurations and Data
To remove libdumbster-java
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libdumbster-java
Remove libdumbster-java configuration, data, and all of its dependencies
We can use the following command to remove libdumbster-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdumbster-java
References
Summary
In this tutorial we learn how to install libdumbster-java
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.