How To Install trac-wysiwyg on Ubuntu 18.04
Introduction
In this tutorial we learn how to install trac-wysiwyg
on Ubuntu 18.04.
What is trac-wysiwyg
trac-wysiwyg is:
trac-wysiwyg allows the user to edit all textarea fields in Trac in a WYSIWYG style, e.g. in wiki pages, ticket descriptions, ticket comments and so on. Users may freely switch between the traditional and WYSIWYG editing mode during editing. Especially the aid in editing tables justifies the installation of this plugin.
There are three methods to install trac-wysiwyg
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 trac-wysiwyg Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install trac-wysiwyg
using apt-get
by running the following command:
sudo apt-get -y install trac-wysiwyg
Install trac-wysiwyg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install trac-wysiwyg
using apt
by running the following command:
sudo apt -y install trac-wysiwyg
Install trac-wysiwyg 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 trac-wysiwyg
using aptitude
by running the following command:
sudo aptitude -y install trac-wysiwyg
How To Uninstall trac-wysiwyg on Ubuntu 18.04
To uninstall only the trac-wysiwyg
package we can use the following command:
sudo apt-get remove trac-wysiwyg
Uninstall trac-wysiwyg And Its Dependencies
To uninstall trac-wysiwyg
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove trac-wysiwyg
Remove trac-wysiwyg Configurations and Data
To remove trac-wysiwyg
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge trac-wysiwyg
Remove trac-wysiwyg configuration, data, and all of its dependencies
We can use the following command to remove trac-wysiwyg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge trac-wysiwyg
References
Summary
In this tutorial we learn how to install trac-wysiwyg
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.