Improving the CentOS7 specific parts
authorOkhin <okhin@okhin.fr>
Sat, 24 Mar 2018 19:38:25 +0000 (20:38 +0100)
committerRigel Kent <par@rigelk.eu>
Sat, 24 Mar 2018 20:17:29 +0000 (21:17 +0100)
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

index 6db8a57d06ce8db61c16a69eab39cd8bc347b53a..ab7fb2e4e8753f21aa4c92bf62b87b96bcae8237 100644 (file)
@@ -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