一、安装依赖
dnf -y install automake autoconf libtool make gcc gcc-c++ dnf --enablerepo=PowerTools -y install giflib-devel dnf --enablerepo=PowerTools -y install libexif-devel dnf -y install bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexif-devel giflib-devel libX11-devel freetype-devel fontconfig-devel cairo-devel fribidi-devel
二、安装
cd /tmp wget http://download.mono-project.com/sources/libgdiplus/libgdiplus0-6.0.5.tar.gz tar zxvf libgdiplus0-6.0.5.tar.gz cd libgdiplus-6.0.5 ./configure make
make install
echo "/usr/local/lib" >> /etc/ld.so.conf ldconfig