-
Notifications
You must be signed in to change notification settings - Fork 159
Install feh on CentOS 7 (compile from source)
Jiedong Hao edited this page Jan 8, 2018
·
1 revision
Make sure that you have root privilege and that gcc is installed on your system. Just run the following script, you should be fine!
# install packages which can be found by yum
yum -y install libcurl-devel libX11-devel libXt-devel libXinerama-devel libjpeg-turbo-utils libpng-devel
# download and install packages which are not in yum repo
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/Kenzy:/modified:/C7/CentOS_7/x86_64/imlib2-1.4.6-2.1.x86_64.rpm
wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/Kenzy:/modified:/C7/CentOS_7/x86_64/imlib2-devel-1.4.6-2.1.x86_64.rpm
yum --nogpgcheck localinstall imlib2-1.4.6-2.1.x86_64.rpm imlib2-devel-1.4.6-2.1.x86_64.rpm
## clone the feh repo, compile and install
git clone git://github.com/derf/feh.git
cd feh
make -j${nproc} && make install