How To Install redmine on Debian 9

In this tutorial we learn how to install redmine on Debian 9. redmine is flexible project management web application

Introduction

In this tutorial we learn how to install redmine on Debian 9.

What is redmine

redmine is:

Redmine is a flexible project management web application. Written using Ruby on Rails framework, it is cross-platform and cross-database.

Dependencies for database support are provided by these metapackages: redmine-mysql, redmine-pgsql, redmine-sqlite.

Features

  • Multiple projects support
  • Flexible role based access control
  • Flexible issue tracking system
  • Gantt chart and calendar
  • News, documents & files management
  • Feeds & email notifications
  • Per project wiki
  • Per project forums
  • Time tracking
  • Custom fields for issues, time-entries, projects and users
  • SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs)
  • Issue creation via email
  • Multiple LDAP authentication support
  • User self-registration support
  • Multilanguage support

There are three methods to install redmine on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install redmine Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install redmine

Install redmine Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install redmine

Install redmine 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install redmine

How To Uninstall redmine on Debian 9

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

sudo apt-get remove redmine

Uninstall redmine And Its Dependencies

To uninstall redmine and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove redmine

Remove redmine Configurations and Data

To remove redmine configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge redmine

Remove redmine configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge redmine

Dependencies

redmine have the following dependencies:

References

Summary

In this tutorial we learn how to install redmine package on Debian 9 using different package management tools: apt, apt-get and aptitude.