3

What methods are available for people to use to view images on the command line? I tried the accepted answer here but i got the error bash: fbi: command not found so I'm not quite sure what the problem is. I also tried this (first duck-duck-go result) but it gave me this when trying to install:

pi@raspberrypi:~ $ sudo apt-get install -y fim
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package fim

So how can i view images on the command line without the GUI?

This question has been marked as a duplicate of this question and i will admit that they are extremely similar however at the bottom of every question that has been closed as a duplicate (first result for duplicate:yes here) it says:

marked as duplicate by lenik, syb0rg, RPi Awesomeness, Impulss, Butters Mar 3 '14 at 20:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

I take that to mean if i see a question that is similar to my question but the answers do not work which is the case here i should ask a new one. therefore i do not believe that this should be closed.

2

2 Answers 2

2

I use FBI, because FIM is no longer in the repository. You can install it with the command apt-get install fbi.

1
  • This seems to only work if you use <kbd> ctrl </kbd><kbd> alt </kbd><kbd> F-1 </kbd> and then the command. Can you use it in a 80 by 24 character terminal?
    – sir_ian
    Jul 1, 2016 at 16:58
3

gpicview is a fast and simple image viewer.try this, navigate to the working directory, then type the following command.

gpicview example.jpg
1
  • gpicview is "A Simple and Fast Image Viewer for X" -- in fact it appears to be part of LXDE, the default Raspbian desktop. But the OP is explicitly looking for something which works outside of X (i.e., on the framebuffer).
    – goldilocks
    Jun 25, 2016 at 17:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.