How do I get the Xvfb package? To install the Xvfb package on Ubuntu, open a terminal and run the following command: $ sudo apt-get install xvfb To install the Xvfb package on CentOS, open a terminal and run the following command: $ sudo yum install xorg-x11-server-Xvfb