How To Install libjgraphx-java on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libjgraphx-java
on Ubuntu 20.04.
What is libjgraphx-java
libjgraphx-java is:
JGraph X is based on the mxGraph architecture, a re-designed core based on JGraph experience.
The new library API is designed to provide a much lower learning curve as well as making the feature set easier to extend and integrate. Sharing the model code base of mxGraph, the web diagramming library, enabling applications written in Java to be more easily ported to mxGraph-based web applications.
Overall, JGraph X provides more features that JGraph, with a far smaller code size and complexity. Redesigning the codebase from scratch now means implementing common feature extensions are easier and require less coding. A number of new loosely coupled application-centric features have been added, making prototyping even faster, without their usage restricting application flexibility.
There are three methods to install libjgraphx-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 libjgraphx-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 libjgraphx-java
using apt-get
by running the following command:
sudo apt-get -y install libjgraphx-java
Install libjgraphx-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjgraphx-java
using apt
by running the following command:
sudo apt -y install libjgraphx-java
Install libjgraphx-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 libjgraphx-java
using aptitude
by running the following command:
sudo aptitude -y install libjgraphx-java
How To Uninstall libjgraphx-java on Ubuntu 20.04
To uninstall only the libjgraphx-java
package we can use the following command:
sudo apt-get remove libjgraphx-java
Uninstall libjgraphx-java And Its Dependencies
To uninstall libjgraphx-java
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libjgraphx-java
Remove libjgraphx-java Configurations and Data
To remove libjgraphx-java
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libjgraphx-java
Remove libjgraphx-java configuration, data, and all of its dependencies
We can use the following command to remove libjgraphx-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjgraphx-java
References
Summary
In this tutorial we learn how to install libjgraphx-java
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.