How To Install libbatik-java on Debian 10
Introduction
In this tutorial we learn how to install libbatik-java
on Debian 10.
What is libbatik-java
libbatik-java is:
Batik is a toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation.
Batik provides several modules to be used in applications:
- A SVG generator module, usable to export graphics into the SVG format.
- A SVG processor and SVG Viewing component for integrating SVG viewing.
- A module to convert SVG to various formats, such as raster images (JPEG, PNG or Tiff) and PS, PDF.
fop is necessary for PDF output of rasterizer.
rhino is necessary for using the SVG browser, squiggle.
For detailed information, go to http://xml.apache.org/batik/
There are three methods to install libbatik-java
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libbatik-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 libbatik-java
using apt-get
by running the following command:
sudo apt-get -y install libbatik-java
Install libbatik-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libbatik-java
using apt
by running the following command:
sudo apt -y install libbatik-java
Install libbatik-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libbatik-java
using aptitude
by running the following command:
sudo aptitude -y install libbatik-java
How To Uninstall libbatik-java on Debian 10
To uninstall only the libbatik-java
package we can use the following command:
sudo apt-get remove libbatik-java
Uninstall libbatik-java And Its Dependencies
To uninstall libbatik-java
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libbatik-java
Remove libbatik-java Configurations and Data
To remove libbatik-java
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libbatik-java
Remove libbatik-java configuration, data, and all of its dependencies
We can use the following command to remove libbatik-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libbatik-java
Dependencies
libbatik-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libbatik-java
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.