How To Install libjmagick6-java on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libjmagick6-java
on Ubuntu 20.04.
What is libjmagick6-java
libjmagick6-java is:
JMagick is an open source Java interface of ImageMagick. It is implemented in the form of Java Native Interface (JNI) into the ImageMagick API.
JMagick does not attempt to make the ImageMagick API object-oriented. It is merely a thin interface layer into the ImageMagick API.
JMagick currently only implements a subset of ImageMagick APIs. Should you require unimplemented features in JMagick, please join the mailing list and make a request.
There are three methods to install libjmagick6-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 libjmagick6-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 libjmagick6-java
using apt-get
by running the following command:
sudo apt-get -y install libjmagick6-java
Install libjmagick6-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjmagick6-java
using apt
by running the following command:
sudo apt -y install libjmagick6-java
Install libjmagick6-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 libjmagick6-java
using aptitude
by running the following command:
sudo aptitude -y install libjmagick6-java
How To Uninstall libjmagick6-java on Ubuntu 20.04
To uninstall only the libjmagick6-java
package we can use the following command:
sudo apt-get remove libjmagick6-java
Uninstall libjmagick6-java And Its Dependencies
To uninstall libjmagick6-java
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libjmagick6-java
Remove libjmagick6-java Configurations and Data
To remove libjmagick6-java
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libjmagick6-java
Remove libjmagick6-java configuration, data, and all of its dependencies
We can use the following command to remove libjmagick6-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjmagick6-java
References
Summary
In this tutorial we learn how to install libjmagick6-java
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.