glxspheres not found. How to install? [closed]

Solution 1:

  1. Download VirtualGL (.deb) from: http://sourceforge.net/projects/virtualgl/files/VirtualGL/
  2. Navigate to the folder containing the deb package and install it with:

    sudo dpkg -i VirtualGL_*.deb

  3. Run glxspheres:

    cd /opt/VirtualGL/bin/

    ./glxspheres

    OR

    /opt/VirtualGL/bin/glxspheres

Solution 2:

In 13.04 and older it is provided by mesa-utils package:

$ sudo apt-get install mesa-utils

Also in older releases virtualgl is not in the default repositories. If this is still the case you can use Bumblebee PPA to get it.