How to Install Redmine on Fedora 28

In this post I talk about the additional steps needed to install Redmine on Fedora 28.

Pre-installation steps required for Fedora 28

To install Redmine on Fedora 28 you will need to install a number of packages first. These are required for the ruby gem files to be compiled and installed.

To quickly set up and get ready for installing Redmine you can run the following commands.

sudo dnf update
sudo reboot

Once the machine has rebooted, install the following packages.

sudo dnf install httpd mariadb-server mariadb-devel ruby ruby-devel ImageMagick-devel gcc gcc-c++ make gdb redhat-rpm-config rubygem-nokogiri

What are these packages used for

The full list of packages and why they are used are detailed below:

  • httpd – Webserver used to host Redmine
  • mariadb-server mariadb-devel – Required if you want to store Redmine data in a MySQL database.
  • ruby rubygem-nokogiri ruby-devel – Ruby runtime and development tools to run and compile ruby gems
  • ImageMagick-devel – Used by Redmine for its image manipulation tools
  • gcc gcc-c++ make gdb redhat-rpm-config – Required to build all the ruby gem extensions

Now you can install Redmine

Once the following packages have been installed you should be able to follow the installation instructions on the Redmine website.

If when installing Redmine you get the error “Failed to build nokogiri 1.8.3 gem” then it is recommended to follow my guide to fixing failure to build nokogiri 1.8.3 gem.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.