How To Install libeclipselink-java on Debian 9
Introduction
In this tutorial we learn how to install libeclipselink-java
on Debian 9.
What is libeclipselink-java
libeclipselink-java is:
Eclipse Persistence Services Project, more commonly known as EclipseLink, is a Java comprehensive persistence framework delivering a set of persistence services based around standards. This lets you rapidly build applications that combine the best aspects of object technology and the specific data source.
EclipseLink was started by a donation of the full source code and test suites of Oracle’s TopLink product.
EclipseLink’s services currently include object-relational with JPA, object-XML binding in MOXy (with support for JAXB), a Service Data Objects (SDO) implementation and support for another technologies like: Database Web Services (DWS), XML-Relational (XRM) and Non-Relational (EIS via JCA).
There are three methods to install libeclipselink-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 libeclipselink-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 libeclipselink-java
using apt-get
by running the following command:
sudo apt-get -y install libeclipselink-java
Install libeclipselink-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libeclipselink-java
using apt
by running the following command:
sudo apt -y install libeclipselink-java
Install libeclipselink-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 libeclipselink-java
using aptitude
by running the following command:
sudo aptitude -y install libeclipselink-java
How To Uninstall libeclipselink-java on Debian 9
To uninstall only the libeclipselink-java
package we can use the following command:
sudo apt-get remove libeclipselink-java
Uninstall libeclipselink-java And Its Dependencies
To uninstall libeclipselink-java
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libeclipselink-java
Remove libeclipselink-java Configurations and Data
To remove libeclipselink-java
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libeclipselink-java
Remove libeclipselink-java configuration, data, and all of its dependencies
We can use the following command to remove libeclipselink-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libeclipselink-java
Dependencies
libeclipselink-java have the following dependencies:
- antlr3
- libasm3-java
- libcdi-api-java
- libgeronimo-j2ee-connector-1.5-spec-java
- libgeronimo-jms-1.1-spec-java
- libgeronimo-jta-1.1-spec-java
- libgeronimo-validation-1.0-spec-java
- libjpa-2.1-spec-java
- libjsr311-api-java
- libmail-java
References
Summary
In this tutorial we learn how to install libeclipselink-java
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.