From 0414ed1066e4d4c24f98e375cd8f14d44401c09a Mon Sep 17 00:00:00 2001
From: Okhin <okhin@okhin.fr>
Date: Sat, 24 Mar 2018 20:38:25 +0100
Subject: [PATCH] Improving the CentOS7 specific parts

Changing the link  for ffmpeg toward a tutorial with an actual mirror of ffmpeg, and with less hassle.
Adding the deendencies to devtoolset-6 and centos-release-scl to provide a C++11 compatible G++
---
 support/doc/dependencies.md | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/support/doc/dependencies.md b/support/doc/dependencies.md
index 6db8a57d06..ab7fb2e4e8 100644
--- a/support/doc/dependencies.md
+++ b/support/doc/dependencies.md
@@ -46,15 +46,19 @@ $ sudo pacman -S nodejs yarn ffmpeg postgresql openssl redis git wget unzip pyth
   2. Install yarn:
      [https://yarnpkg.com/en/docs/install](https://yarnpkg.com/en/docs/install)
   3. Install or compile ffmpeg:
-     * Install - [https://www.webfoobar.com/index.php/node/17](https://www.webfoobar.com/index.php/node/17)
+     * Install - [https://linoxide.com/linux-how-to/install-ffmpeg-centos-7/](https://linoxide.com/linux-how-to/install-ffmpeg-centos-7/)
      * Compile - [https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh](https://gist.github.com/mustafaturan/7053900#file-latest-ffmpeg-centos6-sh)
   4. Run:
 
 ```
 $ sudo yum update
-$ sudo yum install epel-release
+$ sudo yum install epel-release centos-release-scl
 $ sudo yum update
-$ sudo yum install nginx postgresql postgresql-server openssl gcc make redis git
+$ sudo yum install nginx postgresql postgresql-server openssl gcc-c++ make redis git devtoolset-6
+```
+
+  5. You need to use a more up to date version of G++ in order to run the yarn install command, hence the installation of devtoolset-6.
+$ sudo scl devtoolset-6 bash
 ```
 
 ## Other distributions
-- 
GitLab