How To Install tinymce on Ubuntu 18.04

In this tutorial we learn how to install tinymce on Ubuntu 18.04. tinymce is platform independent web based Javascript/HTML WYSIWYG editor

Introduction

In this tutorial we learn how to install tinymce on Ubuntu 18.04.

What is tinymce

tinymce is:

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other Content Management Systems.

TinyMCE provides the following features:

  • Easy to integrate, takes only two lines of code.
  • Customizable through themes and plugins.
  • Customizable XHTML 1.0 output.
  • Block invalid elements and force attributes.
  • International language support (Language packs).
  • Multiple browser support, Mozilla, MSIE, FireFox, Opera and Safari.

There are three methods to install tinymce 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 tinymce Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tinymce

Install tinymce Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tinymce using apt by running the following command:

sudo apt -y install tinymce

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

sudo aptitude -y install tinymce

How To Uninstall tinymce on Ubuntu 18.04

To uninstall only the tinymce package we can use the following command:

sudo apt-get remove tinymce

Uninstall tinymce And Its Dependencies

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

sudo apt-get -y autoremove tinymce

Remove tinymce Configurations and Data

To remove tinymce configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge tinymce

Remove tinymce configuration, data, and all of its dependencies

We can use the following command to remove tinymce configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tinymce

References

Summary

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