How To Install libjs-edit-area on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libjs-edit-area
on Ubuntu 20.04.
What is libjs-edit-area
libjs-edit-area is:
Edit-area is a free javascript editor for source code that is easy to integrate, has only one script include and one function call. It supports tabulation (allow to write well formated source code), has customizable real-time syntax highlighting (currently: PHP, CSS, Javascript, Python, HTML, XML, VB, C, CPP, SQL, Pascal, Basic, Brainf*ck, and probably more…), word-wrap support, search and replace (with regexp), auto-indenting new lines, line numerotation, multilanguage support (currently: Croatian, Czech, Danish, Dutch, English, Esperanto, French, German, Italian, Japanese, Macedonian, Polish, Portuguese, Russian, Slovak, Spanish, and probably more…), has the possibility to use PHP gzip compression (compress the 12 core files to one file of ~30Ko), allows multiple instances, has a full screen mode, possible plugin integration, possible save and load callback functions, possible dynamic content management, can work in the same environment than prototype and mootools’s like libraries.
There are three methods to install libjs-edit-area
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 libjs-edit-area 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-edit-area
using apt-get
by running the following command:
sudo apt-get -y install libjs-edit-area
Install libjs-edit-area Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjs-edit-area
using apt
by running the following command:
sudo apt -y install libjs-edit-area
Install libjs-edit-area 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-edit-area
using aptitude
by running the following command:
sudo aptitude -y install libjs-edit-area
How To Uninstall libjs-edit-area on Ubuntu 20.04
To uninstall only the libjs-edit-area
package we can use the following command:
sudo apt-get remove libjs-edit-area
Uninstall libjs-edit-area And Its Dependencies
To uninstall libjs-edit-area
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libjs-edit-area
Remove libjs-edit-area Configurations and Data
To remove libjs-edit-area
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libjs-edit-area
Remove libjs-edit-area configuration, data, and all of its dependencies
We can use the following command to remove libjs-edit-area
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjs-edit-area
References
Summary
In this tutorial we learn how to install libjs-edit-area
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.