How To Install xscreensaver-gl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install xscreensaver-gl
on Ubuntu 18.04.
What is xscreensaver-gl
xscreensaver-gl is:
XScreenSaver is a modular screen saver and locker for X11, containing more than 200 screen savers.
This package contains a small selection of 3D (OpenGL) screen saver modules from the xscreensaver collection. This package can be used by xscreensaver and also some other screensaver engines.
This is the set of GL screensavers shipped by default: antinspect, antspotlight, atunnel, blinkbox, bubble3d, circuit, cityring, cubestack, cubestorm, cubetwist, discoball, dymaxionmap, endgame, energystream, engine, flipflop, flipscreen3d, flyingtoasters, gears, geodesic, geodesicgears, gflux, glblur, glcells, gleidescope, glknots, glmatrix, glschool, glslideshow, glsnake, gltext, hexstrut, hydrostat, hypertorus, jigglypuff, kaleidocycle, lavalite, lockward, mirrorblob, moebius, moebiusgears, molecule, morph3d, pipes, polyhedra, polytopes, projectiveplane, pulsar, quasicrystal, queens, raverhoop, romanboy, sierpinski3d, sonar, spheremonics, splitflap, splodesic, stonerview, superquadrics, topblock, unicrud, voronoi, winduprobot.
More display modes can be found in the xscreensaver-data, xscreensaver-data-extra and xscreensaver-gl-extra packages.
There are three methods to install xscreensaver-gl
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xscreensaver-gl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xscreensaver-gl
using apt-get
by running the following command:
sudo apt-get -y install xscreensaver-gl
Install xscreensaver-gl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xscreensaver-gl
using apt
by running the following command:
sudo apt -y install xscreensaver-gl
Install xscreensaver-gl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install xscreensaver-gl
using aptitude
by running the following command:
sudo aptitude -y install xscreensaver-gl
How To Uninstall xscreensaver-gl on Ubuntu 18.04
To uninstall only the xscreensaver-gl
package we can use the following command:
sudo apt-get remove xscreensaver-gl
Uninstall xscreensaver-gl And Its Dependencies
To uninstall xscreensaver-gl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove xscreensaver-gl
Remove xscreensaver-gl Configurations and Data
To remove xscreensaver-gl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge xscreensaver-gl
Remove xscreensaver-gl configuration, data, and all of its dependencies
We can use the following command to remove xscreensaver-gl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xscreensaver-gl
References
Summary
In this tutorial we learn how to install xscreensaver-gl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.