CentOS7にflameshotをインストール

  1. flameshotをhttps://github.com/lupoDharkael/flameshot からgit clone

  2. gcc 4.9以上が必要なので、https://web.chaperone.jp/w/index.php?CentOS/devtoolset からdevtoolset-3をインストール

    1. yum install centos-release-scl-rh

    2. yum install devtoolset-3-gcc devtoolset-3-gcc-c++ devtoolset-3-gcc-gfortran devtoolset-3-binutils

    3. scl enable devtoolset-3 bash

  3. flameshotのdependency

    • # Compile-time

    • dnf install gcc-c++ qt5-devel qt5-qtbase-devel qt5-linguist

    • # Run-time

    • dnf install qt5-qtbase qt5-qtsvg-devel

  1. flameshotのディレクトリで

mkdir build; cd build; qmake ../; make; make install