Last Updated on August 20, 2020
Compiling feh
Here’s the steps I took to compile and install this program.
$ sudo apt install -y libimlib2-dev libjpeg-progs libexif-dev
$ mkdir feh_tmp
$ cd feh_tmp
$ wget https://feh.finalrewind.org/feh-3.3.tar.bz2
$ tar -xjf feh-3.3.tar.bz2
$ cd feh-3.3
$ make -j4 exif=1
$ sudo make install
My system already had some packages already installed. If you’re missing dependencies, issue the following command:
Compilation took less than 10 seconds providing you use the -j4 flag.
This lets the compilation use all of the RPI4’s 4 cores.
Running the command:
takes the following actions:
installing manuals to /usr/local/share/man
installing docs to /usr/local/share/doc/feh
installing executables to /usr/local/bin
installing fonts to /usr/local/share/feh/fonts
installing images to /usr/local/share/feh/images
installing icon to /usr/local/share/icons/hicolor/48×48/apps
installing icon to /usr/local/share/icons/hicolor/scalable/apps
installing examples to /usr/local/share/doc/feh/examples
installing desktop file to /usr/local/share/applications
WebP
If you use WebP files, you’ll need to following a few more steps, as Raspbian’s imlib2 package doesn’t support WebP. But that’s easy to fix with the following commands:
$ git clone git://github.com/gawen947/imlib2-webp
$ cd imlib2-webp
$ make -j4
$ sudo make install
Imlib2 is an advanced replacement for libraries like libXpm. Imlib2 provides many more features with much greater flexibility and speed than standard libraries, including font rasterization, rotation, RGBA space rendering and blending, dynamic binary filters, scripting, and more.
Pages in this article:
Page 1 – Main page
Page 2 – Compiling gThumb
Page 3 – Compiling feh
Read all my blog posts about the RPI4.
Raspberry Pi 4 Blog | |
---|---|
Week 36 | Manage your personal collections on the RPI4 |
Week 35 | Survey of terminal emulators |
Week 34 | Search the desktop with the latest version of Recoll |
Week 33 | Personal Information Managers on the RPI4 |
Week 32 | Keep a diary with the RPI4 |
Week 31 | Process complex mathematical functions, plot 2D and 3D graphs with calculators |
Week 30 | Internet radio on this tiny computer. A detailed survey of open source software |
Week 29 | Professionally manage your photo collection with digiKam |
Week 28 | Typeset beautifully with LyX |
Week 27 | Software that teaches young people how to learn basic computing skills and beyond |
Week 26 | Firefox revisited - Raspbian now offers a real alternative to Chromium |
Week 25 | Turn the Raspberry Pi 4 into a low power writing machine |
Week 24 | Keep the kids learning and having fun |
Week 23 | Lots of choices to view images |
Week 22 | Listening to podcasts on the RPI4 |
Week 21 | File management on the RPI4 |
Week 20 | Open Broadcaster Software (OBS Studio) on the RPI4 |
Week 19 | Keep up-to-date with these news aggregators |
Week 18 | Web Browsers Again: Firefox |
Week 17 | Retro gaming on the RPI4 |
Week 16 | Screen capturing with the RPI4 |
Week 15 | Emulate the Amiga, ZX Spectrum, and the Atari ST on the RPI4 |
Week 14 | Choose the right model of the RPI4 for your desktop needs |
Week 13 | Using the RPI4 as a screencaster |
Week 12 | Have fun reading comics on the RPI4 with YACReader, MComix, and more |
Week 11 | Turn the RPI4 into a complete home theater |
Week 10 | Watching locally stored video with VLC, OMXPlayer, and others |
Week 9 | PDF viewing on the RPI4 |
Week 8 | Access the RPI4 remotely running GUI apps |
Week 7 | e-book tools are put under the microscope |
Week 6 | The office suite is the archetypal business software. LibreOffice is tested |
Week 5 | Managing your email box with the RPI4 |
Week 4 | Web surfing on the RPI4 looking at Chromium, Vivaldi, Firefox, and Midori |
Week 3 | Video streaming with Chromium & omxplayerGUI as well as streamlink |
Week 2 | A survey of open source music players on the RPI4 including Tauon Music Box |
Week 1 | An introduction to the world of the RPI4 looking at musikcube and PiPackages |
This blog is written on the RPI4.