Install xvfb on Ubuntu: sudo apt-get install xvfb

Learn how to install xvfb with the command sudo apt-get install xvfb on Ubuntus.


 

Ads

Quick installation of xvfb:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: xvfb

Ater updaing the OS run following command to install the packae:

	sudo apt-get install xvfb

Package Details

Package:xvfb
Version:2:1.11.4-0ubuntu10.17
Maintainer:Ubuntu X-SWAT
Home page:
Description:Virtual Framebuffer 'fake' X server Xvfb provides an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory. The primary use of this server was intended to be server testing, but other novel uses for it have been found, including testing clients against unusual depths and screen configurations, doing batch processing with Xvfb as a background rendering engine, load testing, as an aid to porting the X server to a new platform, and providing an unobtrusive way to run applications that don't really need an X server but insist on having one anyway. . This package also contains a convenience script called xvfb-run which simplifies the automated execution of X clients in a virtual server environment. This convenience script requires the use of the xauth program. . More information about X.Org can be found at: . This package is built from the X.org xserver module.
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:x11

How to install xvfb on Ubuntu 12.04 LTS?

Install xvfb on Ubuntu: sudo apt-get install xvfb

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If xvfb is not installed on your compter then the command 'dpkg -L xvfb' will give followin error.

deepak@deepak-VirtualBox:~$ dpkg -L xvfb
Package `xvfb' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
deepak@deepak-VirtualBox:~$ 

Installing xvfb:

After system update use the following command to install xvfb:

sudo apt-get install xvfb

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove xvfb from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the xvfb from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the xvfb following command is used:

sudo apt-get remove  xvfb

Following command is used to remove the xvfb package along with its dependencies:

sudo apt-get remove --auto-remove xvfb

This will remove xvfb and all its dependent packages which is no longer needed in the system.

Completely removing xvfb with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge xvfb

or you can use following command also:

sudo apt-get purge --auto-remove xvfb

Above command will remove all the configuration files and data associated with xvfb package. You can can't recover the delete data, so, use this command with care.