How To Install libjs-dojo-dojox on Ubuntu 18.04

In this tutorial we learn how to install libjs-dojo-dojox on Ubuntu 18.04. libjs-dojo-dojox is modular JavaScript toolkit - DojoX

Introduction

In this tutorial we learn how to install libjs-dojo-dojox on Ubuntu 18.04.

What is libjs-dojo-dojox

libjs-dojo-dojox is:

Dojo Toolkit is an open source modular JavaScript library designed to ease the rapid development of cross platform, JavaScript/Ajax based applications and web sites.

This package contains modules from the DojoX project.

Dojo eXtensions is a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental.

There are three methods to install libjs-dojo-dojox on Ubuntu 18.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 libjs-dojo-dojox Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libjs-dojo-dojox using apt-get by running the following command:

sudo apt-get -y install libjs-dojo-dojox

Install libjs-dojo-dojox Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjs-dojo-dojox using apt by running the following command:

sudo apt -y install libjs-dojo-dojox

Install libjs-dojo-dojox 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 libjs-dojo-dojox using aptitude by running the following command:

sudo aptitude -y install libjs-dojo-dojox

How To Uninstall libjs-dojo-dojox on Ubuntu 18.04

To uninstall only the libjs-dojo-dojox package we can use the following command:

sudo apt-get remove libjs-dojo-dojox

Uninstall libjs-dojo-dojox And Its Dependencies

To uninstall libjs-dojo-dojox and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libjs-dojo-dojox

Remove libjs-dojo-dojox Configurations and Data

To remove libjs-dojo-dojox configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libjs-dojo-dojox

Remove libjs-dojo-dojox configuration, data, and all of its dependencies

We can use the following command to remove libjs-dojo-dojox configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libjs-dojo-dojox

References

Summary

In this tutorial we learn how to install libjs-dojo-dojox package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.