How To Install trac-tags on Ubuntu 18.04

In this tutorial we learn how to install trac-tags on Ubuntu 18.04. trac-tags is Tagging plugin for Trac wiki and issue tracking system

Introduction

In this tutorial we learn how to install trac-tags on Ubuntu 18.04.

What is trac-tags

trac-tags is:

The Trac Tags plugin implements both a generic tagging engine, and frontends for the Wiki and ticket systems. An extra text entry box is added to the Wiki edit page for tagging Wiki pages, and ticket fields (you can configure which ones) are treated as tags for the ticket system.

There are three methods to install trac-tags 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-tags 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-tags using apt-get by running the following command:

sudo apt-get -y install trac-tags

Install trac-tags Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install trac-tags

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

sudo aptitude -y install trac-tags

How To Uninstall trac-tags on Ubuntu 18.04

To uninstall only the trac-tags package we can use the following command:

sudo apt-get remove trac-tags

Uninstall trac-tags And Its Dependencies

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

sudo apt-get -y autoremove trac-tags

Remove trac-tags Configurations and Data

To remove trac-tags configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge trac-tags

Remove trac-tags configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge trac-tags

References

Summary

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