How To Install trac on CentOS 7

In this tutorial we learn how to install trac on CentOS 7. trac is Enhanced wiki and issue tracking system

Introduction

In this tutorial we learn how to install trac on CentOS 7.

What is trac

Trac is an integrated system for managing software projects, an enhanced wiki, a flexible web-based issue tracker, and an interface to the Subversion revision control system. At the core of Trac lies an integrated wiki and issue/bug database. Using wiki markup, all objects managed by Trac can directly link to other issues/bug reports, code changesets, documentation and files. Around the core lies other modules, providing additional features and tools to make software development more streamlined and effective.

We can use yum or dnf to install trac on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install trac.

Install trac on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install trac using yum by running the following command:

sudo yum -y install trac

Install trac on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install trac using dnf by running the following command:

sudo dnf -y install trac

How To Uninstall trac on CentOS 7

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

sudo dnf remove trac

References

Summary

In this tutorial we learn how to install trac on CentOS 7 using yum and dnf.