How To Install libwsdl2c-java on Debian 9
Introduction
In this tutorial we learn how to install libwsdl2c-java
on Debian 9.
What is libwsdl2c-java
libwsdl2c-java is:
This is an amalgam of code from several java projects which are required to use WSDL2C from the Apache Axis 2 project. The goal is to have code which can be built from source without the chain of dependencies needed to build each of these projects in their entirety.
The code in this project coms from the following sources:
http://svn.apache.org/repos/asf/axis/axis2/java/core/tags/v1.4.1 http://svn.apache.org/repos/asf/webservices/commons/tags/axiom/1.2.12 http://svn.apache.org/repos/asf/webservices/commons/tags/neethi/neethi-3.0.1 http://svn.apache.org/repos/asf/webservices/commons/tags/XmlSchema/1.4.2 http://svn.apache.org/repos/asf/webservices/woden/tags/1.0M9 https://svn.java.net/svn/jsr311~svn/tags/jsr311-api-1.1.1 svn://svn.annogen.codehaus.org/annogen/scm [1]
At this point, none of the sources have been modified. Note that the jsr311 code (i.e., the files under javax/ws/rs) is provided under the CDDL, while all other code uses the Apache Software License, version 2.0.
Notes: [1] could not access this link, and pulled the code out of a jpackage RPM, but theoretically the code still lives in this repo.
There are three methods to install libwsdl2c-java
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libwsdl2c-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 libwsdl2c-java
using apt-get
by running the following command:
sudo apt-get -y install libwsdl2c-java
Install libwsdl2c-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libwsdl2c-java
using apt
by running the following command:
sudo apt -y install libwsdl2c-java
Install libwsdl2c-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 libwsdl2c-java
using aptitude
by running the following command:
sudo aptitude -y install libwsdl2c-java
How To Uninstall libwsdl2c-java on Debian 9
To uninstall only the libwsdl2c-java
package we can use the following command:
sudo apt-get remove libwsdl2c-java
Uninstall libwsdl2c-java And Its Dependencies
To uninstall libwsdl2c-java
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libwsdl2c-java
Remove libwsdl2c-java Configurations and Data
To remove libwsdl2c-java
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libwsdl2c-java
Remove libwsdl2c-java configuration, data, and all of its dependencies
We can use the following command to remove libwsdl2c-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libwsdl2c-java
Dependencies
libwsdl2c-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libwsdl2c-java
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.