zhouyu
zhouyu

Reputation: 287

Xvfb not found on your system

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.

Upvotes: 23

Views: 56020

Answers (2)

Mona Jalal
Mona Jalal

Reputation: 38165

In CentOS 7, the following command will install it:

$ sudo yum install xorg-x11-server-Xvfb

Upvotes: 4

Dishcandanty
Dishcandanty

Reputation: 410

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?

Upvotes: 4

Related Questions