feh源码安装(debian,centos)

官方网站:
http://feh.finalrewind.org/
FEH
feh – a fast and light Imlib2-based image viewer
feh - imlib2 based image viewer

feh is an X11 image viewer aimed mostly at console users. Unlike most other viewers, it does not have a fancy GUI, but simply displays images. It is controlled via commandline arguments and configurable key/mouse actions.

It is released under the terms of the MIT license. For anything feh-related, you're welcome to join #feh on irc.oftc.net.

环境一:Debian

Example for Debian:

First, install the dependencies:
apt-get install libcurl4-openssl-dev libx11-dev libxt-dev libimlib2-dev libxinerama-dev libjpeg-progs

Then, either get the latest tarball:
wget http://feh.finalrewind.org/feh-2.12.tar.bz2
tar -xjf feh-2.12.tar.bz2
cd feh-2.12

or check out the git version:
git clone git://git.finalrewind.org/feh || git clone git://github.com/derf/feh.git
cd feh

Now, compile and install feh:
make
sudo make install



环境二:CentOS7
1.安装编译依赖库
yum -y install imlib2-devel libcurl-devel
说明:imlib2-devel光盘不自带,需要epel源支持。

2.安装feh
wget http://feh.final.rewind.org/feh-2.12.tar.bz2
tar -xvf feh-2.12.tar.bz2 -C /usr/local/src
cd /usr/local/src/feh-2.12
make && make install

原文地址:https://www.cnblogs.com/lixuebin/p/10814418.html