Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xvfb not found on your system

Tags:

xvfb

I try to use Xvfb to make the headless code run. However, I encountered the problem that "Xvfb not found on your system" when I tried to run my ruby code. Then I tried to install Xvfb using

sudo apt-get install xvfb

However, "apt-get: command not found" is showed. Thus, I have not idea what should be installed to avoid the original Xvfb error. Any helps? Thank you.

like image 765
zhouyu Avatar asked Jan 28 '14 02:01

zhouyu


1 Answers

Old question, but found it will trying to find the apt-get commands. The command not found is likely because you are not on a debian system. So you should probably be using yum.

Some potentially useful links: https://serverfault.com/questions/344793/install-xvfb-via-yum-yum-repository-for-xvfb How to install Xvfb (X virtual framebuffer) on Redhat 6.5?

like image 92
Dishcandanty Avatar answered Jan 01 '23 22:01

Dishcandanty